#[repr(C)]pub enum Heading {
Up = 0,
Right = 1,
Down = 2,
Left = 3,
}
Variants§
Trait Implementations§
Source§impl<'a> From<&'a u32> for &'a Heading
impl<'a> From<&'a u32> for &'a Heading
Source§fn from(a: &'a nk_heading) -> &'a Heading
fn from(a: &'a nk_heading) -> &'a Heading
Converts to this type from the input type.
Source§impl From<Heading> for nk_heading
impl From<Heading> for nk_heading
Source§fn from(a: Heading) -> nk_heading
fn from(a: Heading) -> nk_heading
Converts to this type from the input type.
Source§impl From<u32> for Heading
impl From<u32> for Heading
Source§fn from(a: nk_heading) -> Heading
fn from(a: nk_heading) -> Heading
Converts to this type from the input type.
impl Copy for Heading
impl Eq for Heading
impl StructuralPartialEq for Heading
Auto Trait Implementations§
impl Freeze for Heading
impl RefUnwindSafe for Heading
impl Send for Heading
impl Sync for Heading
impl Unpin for Heading
impl UnwindSafe for Heading
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