Struct noisy_float::checkers::NumChecker[][src]

pub struct NumChecker;

A FloatChecker that considers all values valid except NaN.

This checks that the value is a “number”, i.e. it is not “not-a-number”.

The assert method is implemented using debug_assert!.

Trait Implementations

impl<F: Float> FloatChecker<F> for NumChecker[src]

Auto Trait Implementations

impl RefUnwindSafe for NumChecker

impl Send for NumChecker

impl Sync for NumChecker

impl Unpin for NumChecker

impl UnwindSafe for NumChecker

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.