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

source§

fn clone(&self) -> FloatIsNan

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FloatIsNan

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FloatIsNan

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FloatIsNan

source§

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)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl Into<Error> for FloatIsNan

source§

fn into(self) -> Error

Converts this type into the (usually inferred) input type.
source§

impl PartialEq for FloatIsNan

source§

fn eq(&self, other: &FloatIsNan) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for FloatIsNan

source§

impl Eq for FloatIsNan

source§

impl StructuralPartialEq for FloatIsNan