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