struct DispersalParams {
dispersal_radius: f32,
distance_bias: f32,
dispersal_start: u32,
dispersal_duration: u32,
}
Fields
dispersal_radius: f32
distance_bias: f32
dispersal_start: u32
dispersal_duration: u32
Implementations
sourceimpl DispersalParams
impl DispersalParams
fn should_disperse(&self, tick: &Tick) -> bool
Auto Trait Implementations
impl RefUnwindSafe for DispersalParams
impl Send for DispersalParams
impl Sync for DispersalParams
impl Unpin for DispersalParams
impl UnwindSafe for DispersalParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more