[][src]Trait decorum::Infinite

pub trait Infinite: Copy {
    const INFINITY: Self;
    const NEG_INFINITY: Self;

    fn is_infinite(self) -> bool;
fn is_finite(self) -> bool; }

Types that can represent infinities.

Associated Constants

const INFINITY: Self

const NEG_INFINITY: Self

Loading content...

Required methods

fn is_infinite(self) -> bool

fn is_finite(self) -> bool

Loading content...

Implementations on Foreign Types

impl Infinite for f32[src]

impl Infinite for f64[src]

Loading content...

Implementors

impl<T, P> Infinite for ConstrainedFloat<T, P> where
    T: Infinite + Primitive,
    P: Constraint<T> + Member<InfiniteClass>, 
[src]

Loading content...