Trait Neginfinity

Source
pub trait Neginfinity {
    // Required method
    fn neg_infinity() -> Self;
}
Expand description

Trait that returns negative infinity defined on the type

Required Methods§

Source

fn neg_infinity() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Neginfinity for f32

Source§

impl Neginfinity for f64

Implementors§