pub struct Despawn {
pub entity: Entity,
pub scope: Entity,
}Expand description
Despawns an entity and its subtree.
Fields§
§entity: EntityThe entity.
scope: EntityThe scope the entity lived in when the command was queued.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Despawn
impl Freeze for Despawn
impl RefUnwindSafe for Despawn
impl Send for Despawn
impl Sync for Despawn
impl Unpin for Despawn
impl UnsafeUnpin for Despawn
impl UnwindSafe for Despawn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more