Type Alias ordered_float::FloatIsNaN
source · pub type FloatIsNaN = FloatIsNan;
👎Deprecated since 0.6.0: renamed to
FloatIsNan
Expand description
An error indicating an attempt to construct NotNan from a NaN
Aliased Type§
struct FloatIsNaN;
Trait Implementations
source§impl Clone for FloatIsNan
impl Clone for FloatIsNan
source§fn clone(&self) -> FloatIsNan
fn clone(&self) -> FloatIsNan
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 FloatIsNan
impl Debug for FloatIsNan
source§impl Display for FloatIsNan
impl Display for FloatIsNan
source§impl Error for FloatIsNan
impl Error for FloatIsNan
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl Into<Error> for FloatIsNan
impl Into<Error> for FloatIsNan
source§impl PartialEq for FloatIsNan
impl PartialEq for FloatIsNan
source§fn eq(&self, other: &FloatIsNan) -> bool
fn eq(&self, other: &FloatIsNan) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.