Type Alias O64

Source
pub type O64 = OrderedFloat<f64>;
Expand description

Ordered f64 inclusive NaN implementing Float.

Aliased Type§

struct O64(pub f64);

Fields§

§0: f64

Trait Implementations§

Source§

impl MaybeNan for O64

Source§

type NotNan = NotNan<f64>

A type that is guaranteed not to be a NaN value.
Source§

fn is_nan(&self) -> bool

Returns true if the value is a NaN value.
Source§

fn try_as_not_nan(&self) -> Option<&N64>

Tries to convert the value to NotNan. Read more
Source§

fn from_not_nan(value: N64) -> O64

Converts the value. Read more
Source§

fn from_not_nan_opt(value: Option<N64>) -> O64

Converts the value. Read more
Source§

fn from_not_nan_ref_opt(value: Option<&N64>) -> &O64

Converts the value. Read more
Source§

fn remove_nan_mut(view: ArrayViewMut1<'_, O64>) -> ArrayViewMut1<'_, N64>

Returns a view with the NaN values removed. Read more