#[repr(u8)]pub enum Slot {
Head = 0,
Hands = 1,
Legs = 2,
Feet = 3,
Body = 4,
Earring = 5,
Neck = 6,
Rings = 7,
Wrists = 8,
}
Expand description
The slot the item is for.
Variants§
Head = 0
The head slot. Shorthand is “met”.
Hands = 1
The hands slot. Shorthand is “glv”.
Legs = 2
The legs slot. Shorthand is “dwn”.
Feet = 3
The feet slot. Shorthand is “sho”.
Body = 4
The body or chest slot. Shorthand is “top”.
Earring = 5
The earrings slot. Shorthand is “ear”.
Neck = 6
The neck slot. Shorthand is “nek”.
Rings = 7
The ring slot. Shorthand is “rir”.
Wrists = 8
The wrists slot. Shorthand is “wrs”.
Trait Implementations§
source§impl PartialEq for Slot
impl PartialEq for Slot
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnwindSafe for Slot
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