pub struct Deaths(pub World);
Expand description
Makes all animals which have died in the current time step available for inspection
Tuple Fields
0: World
Implementations
sourceimpl Deaths
impl Deaths
pub fn transfer(
&mut self,
world: &mut World,
ent: Entity,
cod: CauseOfDeath
) -> Entity
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Deaths
impl !Send for Deaths
impl !Sync for Deaths
impl Unpin for Deaths
impl UnwindSafe for Deaths
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