Trait conv::misc::SignedInfinity [] [src]

pub trait SignedInfinity {
    fn neg_infinity() -> Self;
    fn pos_infinity() -> Self;
}

This trait indicates that a type has positive and negative "infinity" values.

This is used by the errors::UnwrapOrInf extension trait.

Required Methods

Returns the type's positive infinity value.

Returns the type's negative infinity value.

Implementors