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