[][src]Struct iso_10303::step::Real

pub struct Real(pub f64);

A wrapper type that enables ordering floats. This is a work around for the famous "rust float ordering" problem. By using it, you acknowledge that sorting NaN is undefined according to spec. This implementation treats NaN as the "smallest" float.

Trait Implementations

impl Clone for Real[src]

impl Copy for Real[src]

impl Debug for Real[src]

impl Default for Real[src]

impl Eq for Real[src]

impl From<Parameter> for Real[src]

impl From<UnTypedParameter> for Real[src]

impl Hash for Real[src]

impl Neg for Real[src]

type Output = Real

The resulting type after applying the - operator.

impl Ord for Real[src]

impl PartialEq<Real> for Real[src]

impl PartialOrd<Real> for Real[src]

Auto Trait Implementations

impl RefUnwindSafe for Real

impl Send for Real

impl Sync for Real

impl Unpin for Real

impl UnwindSafe for Real

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.