pub struct LuaEquipmentGridTakeParams {
pub by_player: LuaAny,
pub equipment: LuaEquipment,
pub position: EquipmentPosition,
}Expand description
Remove an equipment from the grid.
Fields§
§by_player: LuaAnyIf provided the action is done ‘as’ this player and on_player_removed_equipment is triggered.
equipment: LuaEquipmentTake this exact equipment.
position: EquipmentPositionTake the equipment that contains this position in the grid.
Trait Implementations§
Source§impl Clone for LuaEquipmentGridTakeParams
impl Clone for LuaEquipmentGridTakeParams
Source§fn clone(&self) -> LuaEquipmentGridTakeParams
fn clone(&self) -> LuaEquipmentGridTakeParams
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 moreSource§impl Debug for LuaEquipmentGridTakeParams
impl Debug for LuaEquipmentGridTakeParams
Source§impl Default for LuaEquipmentGridTakeParams
impl Default for LuaEquipmentGridTakeParams
Source§fn default() -> LuaEquipmentGridTakeParams
fn default() -> LuaEquipmentGridTakeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaEquipmentGridTakeParams
impl RefUnwindSafe for LuaEquipmentGridTakeParams
impl Send for LuaEquipmentGridTakeParams
impl Sync for LuaEquipmentGridTakeParams
impl Unpin for LuaEquipmentGridTakeParams
impl UnsafeUnpin for LuaEquipmentGridTakeParams
impl UnwindSafe for LuaEquipmentGridTakeParams
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