pub enum ItemSlot {
Melee,
Primary,
Secondary,
PDA,
PDA2,
Building,
Misc,
Taunt,
Action,
Utility,
Quest,
}
Expand description
Item slot.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ItemSlot
impl<'de> Deserialize<'de> for ItemSlot
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoEnumIterator for ItemSlot
impl IntoEnumIterator for ItemSlot
source§impl Ord for ItemSlot
impl Ord for ItemSlot
source§impl PartialEq<ItemSlot> for ItemSlot
impl PartialEq<ItemSlot> for ItemSlot
source§impl PartialOrd<ItemSlot> for ItemSlot
impl PartialOrd<ItemSlot> for ItemSlot
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ItemSlot
impl Eq for ItemSlot
impl StructuralEq for ItemSlot
impl StructuralPartialEq for ItemSlot
Auto Trait Implementations§
impl RefUnwindSafe for ItemSlot
impl Send for ItemSlot
impl Sync for ItemSlot
impl Unpin for ItemSlot
impl UnwindSafe for ItemSlot
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