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