#[repr(transparent)]pub struct NSNumberFormatterBehavior(pub NSUInteger);
Available on crate feature
NSNumberFormatter
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSNumberFormatterBehavior
impl NSNumberFormatterBehavior
pub const Default: Self = _
pub const NSNumberFormatterBehavior10_0: Self = _
pub const NSNumberFormatterBehavior10_4: Self = _
Trait Implementations§
source§impl Clone for NSNumberFormatterBehavior
impl Clone for NSNumberFormatterBehavior
source§fn clone(&self) -> NSNumberFormatterBehavior
fn clone(&self) -> NSNumberFormatterBehavior
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 NSNumberFormatterBehavior
impl Debug for NSNumberFormatterBehavior
source§impl Encode for NSNumberFormatterBehavior
impl Encode for NSNumberFormatterBehavior
source§impl Hash for NSNumberFormatterBehavior
impl Hash for NSNumberFormatterBehavior
source§impl Ord for NSNumberFormatterBehavior
impl Ord for NSNumberFormatterBehavior
source§fn cmp(&self, other: &NSNumberFormatterBehavior) -> Ordering
fn cmp(&self, other: &NSNumberFormatterBehavior) -> 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 NSNumberFormatterBehavior
impl PartialEq for NSNumberFormatterBehavior
source§fn eq(&self, other: &NSNumberFormatterBehavior) -> bool
fn eq(&self, other: &NSNumberFormatterBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSNumberFormatterBehavior
impl PartialOrd for NSNumberFormatterBehavior
source§fn partial_cmp(&self, other: &NSNumberFormatterBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &NSNumberFormatterBehavior) -> 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 NSNumberFormatterBehavior
impl RefEncode for NSNumberFormatterBehavior
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 NSNumberFormatterBehavior
impl Eq for NSNumberFormatterBehavior
impl StructuralPartialEq for NSNumberFormatterBehavior
Auto Trait Implementations§
impl Freeze for NSNumberFormatterBehavior
impl RefUnwindSafe for NSNumberFormatterBehavior
impl Send for NSNumberFormatterBehavior
impl Sync for NSNumberFormatterBehavior
impl Unpin for NSNumberFormatterBehavior
impl UnwindSafe for NSNumberFormatterBehavior
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.