pub trait MinusInfinity: Sized {
const MINUS_INFINITY: Self;
// Provided methods
fn is_minus_infinity(&self) -> bool
where Self: PartialEq { ... }
fn is_not_minus_infinity(&self) -> bool
where Self: PartialEq { ... }
}Required Associated Constants§
const MINUS_INFINITY: Self
Provided Methods§
fn is_minus_infinity(&self) -> boolwhere
Self: PartialEq,
fn is_not_minus_infinity(&self) -> boolwhere
Self: PartialEq,
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.