pub trait ExtFloat: Clone {
// Required method
fn ext_nextafter(self, other: Self) -> Self;
}Expand description
Extension trait for float types (num::Float).
Required Methods§
Sourcefn ext_nextafter(self, other: Self) -> Self
fn ext_nextafter(self, other: Self) -> Self
Returns the next representable floating-point value after self in the direction of
other.
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.