pub enum NorthOrientation {
Up,
Right,
Down,
Left,
Unknown(u32),
}Expand description
The screen direction that north points to when the bearing is 0.
See mln_north_orientation in the
C API reference.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NorthOrientation
impl Clone for NorthOrientation
Source§fn clone(&self) -> NorthOrientation
fn clone(&self) -> NorthOrientation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NorthOrientation
Source§impl Debug for NorthOrientation
impl Debug for NorthOrientation
Source§impl Default for NorthOrientation
impl Default for NorthOrientation
impl Eq for NorthOrientation
Source§impl Hash for NorthOrientation
impl Hash for NorthOrientation
Source§impl PartialEq for NorthOrientation
impl PartialEq for NorthOrientation
impl StructuralPartialEq for NorthOrientation
Auto Trait Implementations§
impl Freeze for NorthOrientation
impl RefUnwindSafe for NorthOrientation
impl Send for NorthOrientation
impl Sync for NorthOrientation
impl Unpin for NorthOrientation
impl UnsafeUnpin for NorthOrientation
impl UnwindSafe for NorthOrientation
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more