Enum hex_coordinates::Row
source · [−]pub enum Row {
Even,
Odd,
}
Expand description
A representation of a row being even or odd.
This is arguably excessively explicit, but I want to specify when passing this parameter it relates to the rows being even or odd.
Variants
Even
Odd
Trait Implementations
sourceimpl<const S: OffsetSystem> From<OffsetCoordinates<S>> for Row
impl<const S: OffsetSystem> From<OffsetCoordinates<S>> for Row
sourceconst fn from(_: OffsetCoordinates<S>) -> Self
const fn from(_: OffsetCoordinates<S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more