pub struct OnMarkedForDeconstruction;Expand description
Called when an entity is marked for deconstruction with the Deconstruction planner or via script.
Implementations§
Trait Implementations§
Source§impl Clone for OnMarkedForDeconstruction
impl Clone for OnMarkedForDeconstruction
Source§fn clone(&self) -> OnMarkedForDeconstruction
fn clone(&self) -> OnMarkedForDeconstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnMarkedForDeconstruction
Source§impl Debug for OnMarkedForDeconstruction
impl Debug for OnMarkedForDeconstruction
impl Eq for OnMarkedForDeconstruction
impl StructuralPartialEq for OnMarkedForDeconstruction
Auto Trait Implementations§
impl Freeze for OnMarkedForDeconstruction
impl RefUnwindSafe for OnMarkedForDeconstruction
impl Send for OnMarkedForDeconstruction
impl Sync for OnMarkedForDeconstruction
impl Unpin for OnMarkedForDeconstruction
impl UnsafeUnpin for OnMarkedForDeconstruction
impl UnwindSafe for OnMarkedForDeconstruction
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