#[repr(C)]pub enum Orientation {
Vertical = 0,
Horizontal = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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<'a> From<&'a u32> for &'a Orientation
impl<'a> From<&'a u32> for &'a Orientation
Source§fn from(a: &'a nk_orientation) -> &'a Orientation
fn from(a: &'a nk_orientation) -> &'a Orientation
Converts to this type from the input type.
Source§impl From<Orientation> for nk_orientation
impl From<Orientation> for nk_orientation
Source§fn from(a: Orientation) -> nk_orientation
fn from(a: Orientation) -> nk_orientation
Converts to this type from the input type.
Source§impl From<u32> for Orientation
impl From<u32> for Orientation
Source§fn from(a: nk_orientation) -> Orientation
fn from(a: nk_orientation) -> Orientation
Converts to this type from the input type.
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
impl Copy for Orientation
impl Eq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
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