Trait decorum::Infinite [] [src]

pub trait Infinite: Copy + Sized {
    fn infinity() -> Self;
fn neg_infinity() -> Self;
fn is_infinite(self) -> bool;
fn is_finite(self) -> bool; }

A floating point value that can be infinite.

Required Methods

Implementors