Fields
durations: Vec<u32>
within_core: Bernoulli
Implementations
Trait Implementations
sourceimpl CarcassesParams for SeasonalDecay
impl CarcassesParams for SeasonalDecay
fn init(&mut self, _world: &mut World, _resources: &mut Resources)
fn dir(&mut self, _coord: &Coord, rng: &mut Rng) -> Option<Direction>
fn decomp(&mut self, tick: u32, tick_of_year: u32) -> CarcassDecomposition
fn reset(&mut self, _world: &mut World, _resources: &mut Resources)
Auto Trait Implementations
impl RefUnwindSafe for SeasonalDecay
impl Send for SeasonalDecay
impl Sync for SeasonalDecay
impl Unpin for SeasonalDecay
impl UnwindSafe for SeasonalDecay
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