#[repr(i64)]pub enum NSUserInterfaceLayoutDirection {
LeftToRight = 0,
RightToLeft = 1,
}
Expand description
Specifies the directional flow of the user interface.
Variants§
LeftToRight = 0
Layout direction is left to right.
RightToLeft = 1
Layout direction is right to left.
Trait Implementations§
Source§impl Clone for NSUserInterfaceLayoutDirection
impl Clone for NSUserInterfaceLayoutDirection
Source§fn clone(&self) -> NSUserInterfaceLayoutDirection
fn clone(&self) -> NSUserInterfaceLayoutDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for NSUserInterfaceLayoutDirection
impl PartialEq for NSUserInterfaceLayoutDirection
Source§fn eq(&self, other: &NSUserInterfaceLayoutDirection) -> bool
fn eq(&self, other: &NSUserInterfaceLayoutDirection) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for NSUserInterfaceLayoutDirection
impl Eq for NSUserInterfaceLayoutDirection
impl StructuralPartialEq for NSUserInterfaceLayoutDirection
Auto Trait Implementations§
impl Freeze for NSUserInterfaceLayoutDirection
impl RefUnwindSafe for NSUserInterfaceLayoutDirection
impl Send for NSUserInterfaceLayoutDirection
impl Sync for NSUserInterfaceLayoutDirection
impl Unpin for NSUserInterfaceLayoutDirection
impl UnwindSafe for NSUserInterfaceLayoutDirection
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