pub trait Floor: Copy {
#[must_use]
fn floor(self) -> Self;
}
Expand description
Defines the biggest integer equal or lower than the original value.
#[must_use]
fn floor(self) -> Self
[src]
Rounds to the biggest integer equal or lower than the original value.
This behavior is preserved for negative values (unlike the basic cast).