pub trait Round: Copy {
// Required method
fn round(self) -> Self;
}
Expand description
Defines the nearest integer value to the original value.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait Round: Copy {
// Required method
fn round(self) -> Self;
}
Defines the nearest integer value to the original value.