Trait figures::Ceil[][src]

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

Defines the smallest integer equal or greater than the original value.

Required methods

Rounds to the smallest integer equal or greater than the original value.

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

Implementations on Foreign Types

Implementors