pub struct CellDirection {
pub row: isize,
pub col: isize,
}Fields§
§row: isize§col: isizeTrait Implementations§
Source§impl Clone for CellDirection
impl Clone for CellDirection
Source§fn clone(&self) -> CellDirection
fn clone(&self) -> CellDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellDirection
impl Debug for CellDirection
Source§impl<'de> Deserialize<'de> for CellDirection
impl<'de> Deserialize<'de> for CellDirection
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 Hash for CellDirection
impl Hash for CellDirection
Source§impl Ord for CellDirection
impl Ord for CellDirection
Source§fn cmp(&self, other: &CellDirection) -> Ordering
fn cmp(&self, other: &CellDirection) -> Ordering
1.21.0 · 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 PartialEq for CellDirection
impl PartialEq for CellDirection
Source§impl PartialOrd for CellDirection
impl PartialOrd for CellDirection
Source§impl Serialize for CellDirection
impl Serialize for CellDirection
impl Copy for CellDirection
impl Eq for CellDirection
impl StructuralPartialEq for CellDirection
Auto Trait Implementations§
impl Freeze for CellDirection
impl RefUnwindSafe for CellDirection
impl Send for CellDirection
impl Sync for CellDirection
impl Unpin for CellDirection
impl UnwindSafe for CellDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more