Struct hex_coordinates::InvalidCubeCoordinate
source · [−]pub struct InvalidCubeCoordinate(pub CubeCoordinates);Expand description
An error type for invalid CubeCoordinates. Used for CubeCoordinates::try_div and
CubeCoordinates::try_div_assign.
Tuple Fields
0: CubeCoordinatesTrait Implementations
sourceimpl Clone for InvalidCubeCoordinate
impl Clone for InvalidCubeCoordinate
sourcefn clone(&self) -> InvalidCubeCoordinate
fn clone(&self) -> InvalidCubeCoordinate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InvalidCubeCoordinate
impl Debug for InvalidCubeCoordinate
sourceimpl Display for InvalidCubeCoordinate
impl Display for InvalidCubeCoordinate
sourceimpl PartialEq<InvalidCubeCoordinate> for InvalidCubeCoordinate
impl PartialEq<InvalidCubeCoordinate> for InvalidCubeCoordinate
sourcefn eq(&self, other: &InvalidCubeCoordinate) -> bool
fn eq(&self, other: &InvalidCubeCoordinate) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InvalidCubeCoordinate) -> bool
fn ne(&self, other: &InvalidCubeCoordinate) -> bool
This method tests for !=.
impl Copy for InvalidCubeCoordinate
impl Eq for InvalidCubeCoordinate
impl StructuralEq for InvalidCubeCoordinate
impl StructuralPartialEq for InvalidCubeCoordinate
Auto Trait Implementations
impl RefUnwindSafe for InvalidCubeCoordinate
impl Send for InvalidCubeCoordinate
impl Sync for InvalidCubeCoordinate
impl Unpin for InvalidCubeCoordinate
impl UnwindSafe for InvalidCubeCoordinate
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