pub enum DirectionType {
Cardinal(CardinalDirection),
Ordinal(OrdinalDirection),
}Variants§
Cardinal(CardinalDirection)
Ordinal(OrdinalDirection)
Trait Implementations§
Source§impl Clone for DirectionType
impl Clone for DirectionType
Source§fn clone(&self) -> DirectionType
fn clone(&self) -> DirectionType
Returns a copy 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 DirectionType
impl Debug for DirectionType
Source§impl Hash for DirectionType
impl Hash for DirectionType
Source§impl Ord for DirectionType
impl Ord for DirectionType
Source§fn cmp(&self, other: &DirectionType) -> Ordering
fn cmp(&self, other: &DirectionType) -> 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 DirectionType
impl PartialEq for DirectionType
Source§impl PartialOrd for DirectionType
impl PartialOrd for DirectionType
impl Copy for DirectionType
impl Eq for DirectionType
impl StructuralPartialEq for DirectionType
Auto Trait Implementations§
impl Freeze for DirectionType
impl RefUnwindSafe for DirectionType
impl Send for DirectionType
impl Sync for DirectionType
impl Unpin for DirectionType
impl UnwindSafe for DirectionType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)