#[repr(transparent)]pub struct NSRoundingMode(pub NSUInteger);
Available on crate feature
NSDecimal
only.Expand description
************* Type definitions **********
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSRoundingMode
impl NSRoundingMode
pub const RoundPlain: Self
pub const RoundDown: Self
pub const RoundUp: Self
pub const RoundBankers: Self
Trait Implementations§
Source§impl Clone for NSRoundingMode
impl Clone for NSRoundingMode
Source§fn clone(&self) -> NSRoundingMode
fn clone(&self) -> NSRoundingMode
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 NSRoundingMode
impl Debug for NSRoundingMode
Source§impl Encode for NSRoundingMode
impl Encode for NSRoundingMode
Source§impl Hash for NSRoundingMode
impl Hash for NSRoundingMode
Source§impl Ord for NSRoundingMode
impl Ord for NSRoundingMode
Source§fn cmp(&self, other: &NSRoundingMode) -> Ordering
fn cmp(&self, other: &NSRoundingMode) -> 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 NSRoundingMode
impl PartialEq for NSRoundingMode
Source§impl PartialOrd for NSRoundingMode
impl PartialOrd for NSRoundingMode
Source§impl RefEncode for NSRoundingMode
impl RefEncode for NSRoundingMode
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 NSRoundingMode
impl Eq for NSRoundingMode
impl StructuralPartialEq for NSRoundingMode
Auto Trait Implementations§
impl Freeze for NSRoundingMode
impl RefUnwindSafe for NSRoundingMode
impl Send for NSRoundingMode
impl Sync for NSRoundingMode
impl Unpin for NSRoundingMode
impl UnwindSafe for NSRoundingMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.