pub struct OnPreGhostDeconstructed;Expand description
Called before a ghost entity is destroyed as a result of being marked for deconstruction.
Also called for item request proxies before they are destroyed as a result of being marked for deconstruction.
Implementations§
Trait Implementations§
Source§impl Clone for OnPreGhostDeconstructed
impl Clone for OnPreGhostDeconstructed
Source§fn clone(&self) -> OnPreGhostDeconstructed
fn clone(&self) -> OnPreGhostDeconstructed
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 OnPreGhostDeconstructed
Source§impl Debug for OnPreGhostDeconstructed
impl Debug for OnPreGhostDeconstructed
impl Eq for OnPreGhostDeconstructed
Source§impl PartialEq for OnPreGhostDeconstructed
impl PartialEq for OnPreGhostDeconstructed
impl StructuralPartialEq for OnPreGhostDeconstructed
Auto Trait Implementations§
impl Freeze for OnPreGhostDeconstructed
impl RefUnwindSafe for OnPreGhostDeconstructed
impl Send for OnPreGhostDeconstructed
impl Sync for OnPreGhostDeconstructed
impl Unpin for OnPreGhostDeconstructed
impl UnsafeUnpin for OnPreGhostDeconstructed
impl UnwindSafe for OnPreGhostDeconstructed
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