pub struct ScriptRaisedDestroy;Expand description
A static event mods can use to tell other mods they destroyed something by script. This event is only raised if a mod does so with LuaBootstrap::raise_event or LuaBootstrap::raise_script_destroy, or when raise_destroy is passed to LuaEntity::destroy.
Implementations§
Trait Implementations§
Source§impl Clone for ScriptRaisedDestroy
impl Clone for ScriptRaisedDestroy
Source§fn clone(&self) -> ScriptRaisedDestroy
fn clone(&self) -> ScriptRaisedDestroy
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 ScriptRaisedDestroy
Source§impl Debug for ScriptRaisedDestroy
impl Debug for ScriptRaisedDestroy
impl Eq for ScriptRaisedDestroy
Source§impl PartialEq for ScriptRaisedDestroy
impl PartialEq for ScriptRaisedDestroy
impl StructuralPartialEq for ScriptRaisedDestroy
Auto Trait Implementations§
impl Freeze for ScriptRaisedDestroy
impl RefUnwindSafe for ScriptRaisedDestroy
impl Send for ScriptRaisedDestroy
impl Sync for ScriptRaisedDestroy
impl Unpin for ScriptRaisedDestroy
impl UnsafeUnpin for ScriptRaisedDestroy
impl UnwindSafe for ScriptRaisedDestroy
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