pub enum FloatClass {
Finite,
Infinite,
Nan,
}Expand description
Classification of a BigFloat value: finite, infinite, or NaN.
The sign of ±Inf is carried by the BigFloat::sign field. NaN has a
single canonical form (sign = Positive).
Variants§
Trait Implementations§
Source§impl Clone for FloatClass
impl Clone for FloatClass
Source§fn clone(&self) -> FloatClass
fn clone(&self) -> FloatClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FloatClass
impl Debug for FloatClass
Source§impl Default for FloatClass
impl Default for FloatClass
Source§fn default() -> FloatClass
fn default() -> FloatClass
Returns the “default value” for a type. Read more
Source§impl Hash for FloatClass
impl Hash for FloatClass
Source§impl PartialEq for FloatClass
impl PartialEq for FloatClass
Source§fn eq(&self, other: &FloatClass) -> bool
fn eq(&self, other: &FloatClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FloatClass
impl Eq for FloatClass
impl StructuralPartialEq for FloatClass
Auto Trait Implementations§
impl Freeze for FloatClass
impl RefUnwindSafe for FloatClass
impl Send for FloatClass
impl Sync for FloatClass
impl Unpin for FloatClass
impl UnsafeUnpin for FloatClass
impl UnwindSafe for FloatClass
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