pub trait Round {
// Required methods
fn round(self) -> Self;
fn floor(self) -> Self;
fn ceil(self) -> Self;
}
Expand description
Methods for rounding numbers to integers.
Required Methods§
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.