pub struct EquipmentSlotKey { /* private fields */ }Expand description
Logical equipment slot used by equip and item-power comparisons.
Fixed equipment types always normalize to world_side = None; flip-capable
types keep their Real/Fantasy side. A missing side on a flip-capable item is
retained as None so inventories can still hydrate safely during rollout.
Implementations§
Trait Implementations§
Source§impl Clone for EquipmentSlotKey
impl Clone for EquipmentSlotKey
Source§fn clone(&self) -> EquipmentSlotKey
fn clone(&self) -> EquipmentSlotKey
Returns a copy of the value. Read more
1.0.0 · 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 EquipmentSlotKey
impl Debug for EquipmentSlotKey
Source§impl Hash for EquipmentSlotKey
impl Hash for EquipmentSlotKey
Source§impl PartialEq for EquipmentSlotKey
impl PartialEq for EquipmentSlotKey
impl Copy for EquipmentSlotKey
impl Eq for EquipmentSlotKey
impl StructuralPartialEq for EquipmentSlotKey
Auto Trait Implementations§
impl Freeze for EquipmentSlotKey
impl RefUnwindSafe for EquipmentSlotKey
impl Send for EquipmentSlotKey
impl Sync for EquipmentSlotKey
impl Unpin for EquipmentSlotKey
impl UnwindSafe for EquipmentSlotKey
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