Struct ordered_float::FloatIsNan
source · [−]pub struct FloatIsNan;
Expand description
An error indicating an attempt to construct NotNan from a NaN
Trait Implementations
sourceimpl Clone for FloatIsNan
impl Clone for FloatIsNan
sourcefn clone(&self) -> FloatIsNan
fn clone(&self) -> FloatIsNan
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FloatIsNan
impl Debug for FloatIsNan
sourceimpl Display for FloatIsNan
impl Display for FloatIsNan
sourceimpl Error for FloatIsNan
impl Error for FloatIsNan
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<FloatIsNan> for Error
impl From<FloatIsNan> for Error
sourcefn from(e: FloatIsNan) -> Error
fn from(e: FloatIsNan) -> Error
Converts to this type from the input type.
sourceimpl PartialEq<FloatIsNan> for FloatIsNan
impl PartialEq<FloatIsNan> for FloatIsNan
impl Copy for FloatIsNan
impl Eq for FloatIsNan
impl StructuralEq for FloatIsNan
impl StructuralPartialEq for FloatIsNan
Auto Trait Implementations
impl RefUnwindSafe for FloatIsNan
impl Send for FloatIsNan
impl Sync for FloatIsNan
impl Unpin for FloatIsNan
impl UnwindSafe for FloatIsNan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more