pub enum InventoryType {
Show 29 variants
NonEquip,
Head,
Neck,
Shoulders,
Body,
Chest,
Waist,
Legs,
Feet,
Wrists,
Hands,
Finger,
Trinket,
Weapon,
Shield,
Ranged,
Cloak,
TwoHandedWeapon,
Bag,
Tabard,
Robe,
WeaponMainHand,
WeaponOffHand,
Holdable,
Ammo,
Thrown,
RangedRight,
Quiver,
Relic,
}Available on crate feature
vanilla only.Expand description
Auto generated from the original wowm in file wow_message_parser/wowm/world/enums/inventory_type.wowm:3:
enum InventoryType : u8 {
NON_EQUIP = 0;
HEAD = 1;
NECK = 2;
SHOULDERS = 3;
BODY = 4;
CHEST = 5;
WAIST = 6;
LEGS = 7;
FEET = 8;
WRISTS = 9;
HANDS = 10;
FINGER = 11;
TRINKET = 12;
WEAPON = 13;
SHIELD = 14;
RANGED = 15;
CLOAK = 16;
TWO_HANDED_WEAPON = 17;
BAG = 18;
TABARD = 19;
ROBE = 20;
WEAPON_MAIN_HAND = 21;
WEAPON_OFF_HAND = 22;
HOLDABLE = 23;
AMMO = 24;
THROWN = 25;
RANGED_RIGHT = 26;
QUIVER = 27;
RELIC = 28;
}Variants§
NonEquip
Head
Neck
Shoulders
Body
Chest
Waist
Legs
Feet
Wrists
Hands
Finger
Trinket
Weapon
Shield
Ranged
Cloak
TwoHandedWeapon
Bag
Tabard
Robe
WeaponMainHand
WeaponOffHand
Holdable
Ammo
Thrown
RangedRight
Quiver
Relic
Implementations§
Trait Implementations§
Source§impl Clone for InventoryType
impl Clone for InventoryType
Source§fn clone(&self) -> InventoryType
fn clone(&self) -> InventoryType
Returns a duplicate 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 InventoryType
impl Debug for InventoryType
Source§impl Default for InventoryType
impl Default for InventoryType
Source§fn default() -> InventoryType
fn default() -> InventoryType
Returns the “default value” for a type. Read more
Source§impl Display for InventoryType
impl Display for InventoryType
Source§impl Hash for InventoryType
impl Hash for InventoryType
Source§impl Ord for InventoryType
impl Ord for InventoryType
Source§fn cmp(&self, other: &InventoryType) -> Ordering
fn cmp(&self, other: &InventoryType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InventoryType
impl PartialEq for InventoryType
Source§impl PartialOrd for InventoryType
impl PartialOrd for InventoryType
Source§impl TryFrom<i16> for InventoryType
impl TryFrom<i16> for InventoryType
Source§impl TryFrom<i32> for InventoryType
impl TryFrom<i32> for InventoryType
Source§impl TryFrom<i64> for InventoryType
impl TryFrom<i64> for InventoryType
Source§impl TryFrom<i8> for InventoryType
impl TryFrom<i8> for InventoryType
Source§impl TryFrom<u16> for InventoryType
impl TryFrom<u16> for InventoryType
Source§impl TryFrom<u32> for InventoryType
impl TryFrom<u32> for InventoryType
Source§impl TryFrom<u64> for InventoryType
impl TryFrom<u64> for InventoryType
Source§impl TryFrom<u8> for InventoryType
impl TryFrom<u8> for InventoryType
Source§impl TryFrom<usize> for InventoryType
impl TryFrom<usize> for InventoryType
impl Copy for InventoryType
impl Eq for InventoryType
impl StructuralPartialEq for InventoryType
Auto Trait Implementations§
impl Freeze for InventoryType
impl RefUnwindSafe for InventoryType
impl Send for InventoryType
impl Sync for InventoryType
impl Unpin for InventoryType
impl UnwindSafe for InventoryType
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