pub struct OnEquipmentInsertedEvent {
pub equipment: LuaEquipment,
pub grid: LuaEquipmentGrid,
pub name: &'static str,
pub tick: u32,
}Expand description
Called after equipment is inserted into an equipment grid.
Fields§
§equipment: LuaEquipment§grid: LuaEquipmentGrid§name: &'static str§tick: u32Trait Implementations§
Source§impl Clone for OnEquipmentInsertedEvent
impl Clone for OnEquipmentInsertedEvent
Source§fn clone(&self) -> OnEquipmentInsertedEvent
fn clone(&self) -> OnEquipmentInsertedEvent
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 OnEquipmentInsertedEvent
Source§impl Debug for OnEquipmentInsertedEvent
impl Debug for OnEquipmentInsertedEvent
Source§impl Default for OnEquipmentInsertedEvent
impl Default for OnEquipmentInsertedEvent
Source§fn default() -> OnEquipmentInsertedEvent
fn default() -> OnEquipmentInsertedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnEquipmentInsertedEvent
impl PartialEq for OnEquipmentInsertedEvent
impl StructuralPartialEq for OnEquipmentInsertedEvent
Auto Trait Implementations§
impl Freeze for OnEquipmentInsertedEvent
impl RefUnwindSafe for OnEquipmentInsertedEvent
impl Send for OnEquipmentInsertedEvent
impl Sync for OnEquipmentInsertedEvent
impl Unpin for OnEquipmentInsertedEvent
impl UnsafeUnpin for OnEquipmentInsertedEvent
impl UnwindSafe for OnEquipmentInsertedEvent
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