pub struct OnObjectDestroyed;Expand description
Called after an object is destroyed which was registered with LuaBootstrap::register_on_object_destroyed previously.
Depending on when a given object is destroyed, this event will be fired at the end of the current tick or at the end of the next tick. The event’s timing is independent of the in-world object being destroyed.
Implementations§
Trait Implementations§
Source§impl Clone for OnObjectDestroyed
impl Clone for OnObjectDestroyed
Source§fn clone(&self) -> OnObjectDestroyed
fn clone(&self) -> OnObjectDestroyed
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 OnObjectDestroyed
Source§impl Debug for OnObjectDestroyed
impl Debug for OnObjectDestroyed
impl Eq for OnObjectDestroyed
Source§impl PartialEq for OnObjectDestroyed
impl PartialEq for OnObjectDestroyed
impl StructuralPartialEq for OnObjectDestroyed
Auto Trait Implementations§
impl Freeze for OnObjectDestroyed
impl RefUnwindSafe for OnObjectDestroyed
impl Send for OnObjectDestroyed
impl Sync for OnObjectDestroyed
impl Unpin for OnObjectDestroyed
impl UnsafeUnpin for OnObjectDestroyed
impl UnwindSafe for OnObjectDestroyed
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