Trait figures::Floor[][src]

pub trait Floor: Copy {
    #[must_use]
    fn floor(self) -> Self;
}
Expand description

Defines the biggest integer equal or lower than the original value.

Required methods

Rounds to the biggest integer equal or lower than the original value.

This behavior is preserved for negative values (unlike the basic cast).

Implementations on Foreign Types

Implementors