pub struct OnSegmentedUnitCreatedEvent {
pub cause: &'static str,
pub clone_source: LuaSegmentedUnit,
pub name: &'static str,
pub segmented_unit: LuaSegmentedUnit,
pub tick: u32,
}Expand description
Called when a segmented unit is created for any reason.
Fields§
§cause: &'static str§clone_source: LuaSegmentedUnit§name: &'static str§segmented_unit: LuaSegmentedUnit§tick: u32Trait Implementations§
Source§impl Clone for OnSegmentedUnitCreatedEvent
impl Clone for OnSegmentedUnitCreatedEvent
Source§fn clone(&self) -> OnSegmentedUnitCreatedEvent
fn clone(&self) -> OnSegmentedUnitCreatedEvent
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 OnSegmentedUnitCreatedEvent
Source§impl Debug for OnSegmentedUnitCreatedEvent
impl Debug for OnSegmentedUnitCreatedEvent
Source§impl Default for OnSegmentedUnitCreatedEvent
impl Default for OnSegmentedUnitCreatedEvent
Source§fn default() -> OnSegmentedUnitCreatedEvent
fn default() -> OnSegmentedUnitCreatedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSegmentedUnitCreatedEvent
Auto Trait Implementations§
impl Freeze for OnSegmentedUnitCreatedEvent
impl RefUnwindSafe for OnSegmentedUnitCreatedEvent
impl Send for OnSegmentedUnitCreatedEvent
impl Sync for OnSegmentedUnitCreatedEvent
impl Unpin for OnSegmentedUnitCreatedEvent
impl UnsafeUnpin for OnSegmentedUnitCreatedEvent
impl UnwindSafe for OnSegmentedUnitCreatedEvent
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