pub trait Infinity {
    const INFINITY: Self;
}
Expand description

Provides the constant (positive) Infinity.

Required Associated Constants§

source

const INFINITY: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Infinity for f32

The constant Infinity for primitive floating-point types.

source§

const INFINITY: f32 = +Inf_f32

source§

impl Infinity for f64

The constant Infinity for primitive floating-point types.

source§

const INFINITY: f64 = +Inf_f64

Implementors§