pub struct ShipSlot {
pub slot_nr: u8,
pub kind: ShipSlotKind,
}
Fields§
§slot_nr: u8
§kind: ShipSlotKind
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShipSlot
impl<'de> Deserialize<'de> for ShipSlot
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 StructuralPartialEq for ShipSlot
Auto Trait Implementations§
impl Freeze for ShipSlot
impl RefUnwindSafe for ShipSlot
impl Send for ShipSlot
impl Sync for ShipSlot
impl Unpin for ShipSlot
impl UnwindSafe for ShipSlot
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