Struct result_float::NaN[][src]

pub struct NaN;

An error which is returned when an operation returns NaN.

use std::f64::NAN;
use result_float::{rf, NaN};
assert_eq!(rf(NAN), Err(NaN));

Trait Implementations

impl Copy for NaN
[src]

impl Clone for NaN
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NaN
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NaN
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NaN
[src]

Auto Trait Implementations

impl Send for NaN

impl Sync for NaN