Ceil

Trait Ceil 

Source
pub trait Ceil {
    // Required method
    fn ceil(self) -> Self;
}
Expand description

Defines an interface to the ceil operator for rounding up

Required Methods§

Source

fn ceil(self) -> Self

Round up to the next largest integer

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<U> Ceil for FixedI8<U>
where U: LeEqU8,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedI16<U>
where U: LeEqU16,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedI32<U>
where U: LeEqU32,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedI64<U>
where U: LeEqU64,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedI128<U>
where U: LeEqU128,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedU8<U>
where U: LeEqU8,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedU16<U>
where U: LeEqU16,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedU32<U>
where U: LeEqU32,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedU64<U>
where U: LeEqU64,

Source§

fn ceil(self) -> Self

Source§

impl<U> Ceil for FixedU128<U>
where U: LeEqU128,

Source§

fn ceil(self) -> Self

Implementors§