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