Enum hex_coordinates::Col
source · [−]pub enum Col {
Even,
Odd,
}
Expand description
A representation of a column being even or odd.
This is arguably excessively explicit, but I want to specify when passing this parameter it relates to the columns being even or odd.
Variants
Even
Odd
Trait Implementations
sourceimpl<const S: OffsetSystem> From<OffsetCoordinates<S>> for Col
impl<const S: OffsetSystem> From<OffsetCoordinates<S>> for Col
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 Col
impl Send for Col
impl Sync for Col
impl Unpin for Col
impl UnwindSafe for Col
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