pub enum Slot {
High(u8),
Medium(u8),
Low(u8),
Rig(u8),
Subsystem(u8),
Service(u8),
FighterTube(u8),
FighterBay,
Implant(u8),
Booster(u16),
DroneBay,
Cargo,
}Expand description
Where an item is. The number is the position in its rack, starting at 0; for implants and boosters, the slot as EVE numbers it, starting at 1.
Variants§
High(u8)
A high slot.
Medium(u8)
A medium slot.
Low(u8)
A low slot.
Rig(u8)
A rig slot.
Subsystem(u8)
A subsystem slot.
Service(u8)
A service slot, on a structure.
FighterTube(u8)
A fighter tube; a squadron that is not offline is in space.
FighterBay
The fighter bay; nothing in it is in space.
Implant(u8)
An implant; the number is its implantness.
Booster(u16)
A booster; the number is its boosterness.
DroneBay
The drone bay; a drone that is not offline is in space.
Cargo
The cargo hold; nothing in it is calculated.
Trait Implementations§
impl Copy for Slot
Source§impl<'de> Deserialize<'de> for Slot
impl<'de> Deserialize<'de> for Slot
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
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 UnsafeUnpin 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