pub enum Class {
SignalingNan,
QuietNan,
NegInfinity,
NegNormal,
NegSubnormal,
NegZero,
PosZero,
PosSubnormal,
PosNormal,
PosInfinity,
}
Expand description
The class of a decimal number.
These classes are precisely defined in The Arithmetic Model chapter of the General Decimal Arithmetic specification.
Variants§
SignalingNan
Signaling NaN (“Not a Number”).
QuietNan
Quiet NaN (“Not a Number”).
NegInfinity
Negative infinity.
NegNormal
Negative normal.
NegSubnormal
Negative subnormal.
NegZero
Negative zero.
PosZero
Positive zero.
PosSubnormal
Positive subnormal.
PosNormal
Positive normal.
PosInfinity
Positive infinity.
Trait Implementations§
impl Copy for Class
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)