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

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

fn neg_infinity() -> Self

Returns the type's positive infinity value.

fn pos_infinity() -> Self

Returns the type's negative infinity value.

Loading content...

Implementations on Foreign Types

impl SignedInfinity for f32[src]

impl SignedInfinity for f64[src]

Loading content...

Implementors

Loading content...