pub enum CompassDirection {
North,
NorthEast,
East,
SouthEast,
South,
SouthWest,
West,
NorthWest,
}Expand description
A compass direction
Variants§
Trait Implementations§
Source§impl Clone for CompassDirection
impl Clone for CompassDirection
Source§fn clone(&self) -> CompassDirection
fn clone(&self) -> CompassDirection
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 CompassDirection
impl Debug for CompassDirection
Source§impl<'de> Deserialize<'de> for CompassDirection
impl<'de> Deserialize<'de> for CompassDirection
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 PartialEq for CompassDirection
impl PartialEq for CompassDirection
Source§impl Serialize for CompassDirection
impl Serialize for CompassDirection
impl Copy for CompassDirection
impl StructuralPartialEq for CompassDirection
Auto Trait Implementations§
impl Freeze for CompassDirection
impl RefUnwindSafe for CompassDirection
impl Send for CompassDirection
impl Sync for CompassDirection
impl Unpin for CompassDirection
impl UnwindSafe for CompassDirection
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