#[repr(transparent)]pub struct NSLocaleLanguageDirection(pub NSUInteger);
Available on crate feature
NSLocale
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSLocaleLanguageDirection
impl NSLocaleLanguageDirection
pub const Unknown: Self = _
pub const LeftToRight: Self = _
pub const RightToLeft: Self = _
pub const TopToBottom: Self = _
pub const BottomToTop: Self = _
Trait Implementations§
source§impl Clone for NSLocaleLanguageDirection
impl Clone for NSLocaleLanguageDirection
source§fn clone(&self) -> NSLocaleLanguageDirection
fn clone(&self) -> NSLocaleLanguageDirection
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 Debug for NSLocaleLanguageDirection
impl Debug for NSLocaleLanguageDirection
source§impl Encode for NSLocaleLanguageDirection
impl Encode for NSLocaleLanguageDirection
source§impl Hash for NSLocaleLanguageDirection
impl Hash for NSLocaleLanguageDirection
source§impl Ord for NSLocaleLanguageDirection
impl Ord for NSLocaleLanguageDirection
source§fn cmp(&self, other: &NSLocaleLanguageDirection) -> Ordering
fn cmp(&self, other: &NSLocaleLanguageDirection) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSLocaleLanguageDirection
impl PartialEq for NSLocaleLanguageDirection
source§fn eq(&self, other: &NSLocaleLanguageDirection) -> bool
fn eq(&self, other: &NSLocaleLanguageDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSLocaleLanguageDirection
impl PartialOrd for NSLocaleLanguageDirection
source§fn partial_cmp(&self, other: &NSLocaleLanguageDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &NSLocaleLanguageDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSLocaleLanguageDirection
impl RefEncode for NSLocaleLanguageDirection
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSLocaleLanguageDirection
impl Eq for NSLocaleLanguageDirection
impl StructuralPartialEq for NSLocaleLanguageDirection
Auto Trait Implementations§
impl Freeze for NSLocaleLanguageDirection
impl RefUnwindSafe for NSLocaleLanguageDirection
impl Send for NSLocaleLanguageDirection
impl Sync for NSLocaleLanguageDirection
impl Unpin for NSLocaleLanguageDirection
impl UnwindSafe for NSLocaleLanguageDirection
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.