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