pub struct Dimensions<V> { /* private fields */ }Expand description
The dimensions of a parking game board in terms of rows and columns.
Implementations§
Trait Implementations§
Source§impl<V: Clone> Clone for Dimensions<V>
impl<V: Clone> Clone for Dimensions<V>
Source§fn clone(&self) -> Dimensions<V>
fn clone(&self) -> Dimensions<V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for Dimensions<V>
impl<V: Debug> Debug for Dimensions<V>
Source§impl<'de, V> Deserialize<'de> for Dimensions<V>where
V: Deserialize<'de>,
impl<'de, V> Deserialize<'de> for Dimensions<V>where
V: Deserialize<'de>,
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
Source§impl<V: Hash> Hash for Dimensions<V>
impl<V: Hash> Hash for Dimensions<V>
Source§impl<V> Serialize for Dimensions<V>where
V: Serialize,
impl<V> Serialize for Dimensions<V>where
V: Serialize,
Source§impl<V> TryFrom<(V, V)> for Dimensions<V>where
V: BoardValue,
impl<V> TryFrom<(V, V)> for Dimensions<V>where
V: BoardValue,
impl<V: Copy> Copy for Dimensions<V>
Auto Trait Implementations§
impl<V> Freeze for Dimensions<V>where
V: Freeze,
impl<V> RefUnwindSafe for Dimensions<V>where
V: RefUnwindSafe,
impl<V> Send for Dimensions<V>where
V: Send,
impl<V> Sync for Dimensions<V>where
V: Sync,
impl<V> Unpin for Dimensions<V>where
V: Unpin,
impl<V> UnsafeUnpin for Dimensions<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Dimensions<V>where
V: UnwindSafe,
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