pub struct OnCancelledDeconstructionEvent {
pub entity: LuaEntity,
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when the deconstruction of an entity is canceled.
Fields§
§entity: LuaEntity§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnCancelledDeconstructionEvent
impl Clone for OnCancelledDeconstructionEvent
Source§fn clone(&self) -> OnCancelledDeconstructionEvent
fn clone(&self) -> OnCancelledDeconstructionEvent
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 OnCancelledDeconstructionEvent
Source§impl Default for OnCancelledDeconstructionEvent
impl Default for OnCancelledDeconstructionEvent
Source§fn default() -> OnCancelledDeconstructionEvent
fn default() -> OnCancelledDeconstructionEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnCancelledDeconstructionEvent
Auto Trait Implementations§
impl Freeze for OnCancelledDeconstructionEvent
impl RefUnwindSafe for OnCancelledDeconstructionEvent
impl Send for OnCancelledDeconstructionEvent
impl Sync for OnCancelledDeconstructionEvent
impl Unpin for OnCancelledDeconstructionEvent
impl UnsafeUnpin for OnCancelledDeconstructionEvent
impl UnwindSafe for OnCancelledDeconstructionEvent
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