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