pub struct MoveSlot(/* private fields */);Expand description
The allocated slot of a move within a game.
Implementations§
Trait Implementations§
impl Copy for MoveSlot
Source§impl<'de> Deserialize<'de> for MoveSlot
impl<'de> Deserialize<'de> for MoveSlot
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 MoveSlot
Source§impl From<MoveSlot> for PositionSlot
impl From<MoveSlot> for PositionSlot
Source§impl From<MoveSlot> for NonZeroU32
impl From<MoveSlot> for NonZeroU32
Source§impl From<NonZero<u32>> for MoveSlot
impl From<NonZero<u32>> for MoveSlot
Source§fn from(slot: NonZeroU32) -> Self
fn from(slot: NonZeroU32) -> Self
Converts to this type from the input type.
Source§impl Ord for MoveSlot
impl Ord for MoveSlot
1.21.0 (const: unstable) · 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 PartialOrd for MoveSlot
impl PartialOrd for MoveSlot
impl StructuralPartialEq for MoveSlot
Auto Trait Implementations§
impl Freeze for MoveSlot
impl RefUnwindSafe for MoveSlot
impl Send for MoveSlot
impl Sync for MoveSlot
impl Unpin for MoveSlot
impl UnsafeUnpin for MoveSlot
impl UnwindSafe for MoveSlot
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