IsInfinite

Trait IsInfinite 

Source
pub trait IsInfinite {
    // Required method
    fn is_infinite_(&self) -> bool;
}
Expand description

This trait provides the interface for the function used to check if a number is infinite.

Required Methods§

Source

fn is_infinite_(&self) -> bool

Returns true if self is positive infinity or negative infinity.

Implementations on Foreign Types§

Source§

impl IsInfinite for f64

Source§

fn is_infinite_(&self) -> bool

Returns true if self is positive infinity or negative infinity, and false otherwise.

Source§

impl IsInfinite for Complex<f64>

Source§

fn is_infinite_(&self) -> bool

Returns true if self is positive infinity or negative infinity, and false otherwise.

Implementors§