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