pub struct MazePoint {
pub row: usize,
pub col: usize,
}Expand description
Represents a point within a maze
Fields§
§row: usizeRow index (zero-based)
col: usizeColumn index (zero-based)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MazePoint
impl<'de> Deserialize<'de> for MazePoint
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 MazePoint
Auto Trait Implementations§
impl Freeze for MazePoint
impl RefUnwindSafe for MazePoint
impl Send for MazePoint
impl Sync for MazePoint
impl Unpin for MazePoint
impl UnwindSafe for MazePoint
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