[][src]Trait euclid::num::Ceil

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

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

Required methods

#[must_use]fn ceil(self) -> Self

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

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

Loading content...

Implementations on Foreign Types

impl Ceil for i16[src]

impl Ceil for u16[src]

impl Ceil for i32[src]

impl Ceil for u32[src]

impl Ceil for i64[src]

impl Ceil for u64[src]

impl Ceil for isize[src]

impl Ceil for usize[src]

impl Ceil for f32[src]

impl Ceil for f64[src]

Loading content...

Implementors

impl<T: Ceil, U> Ceil for Point2D<T, U>[src]

fn ceil(self) -> Self[src]

impl<T: Ceil, U> Ceil for Point3D<T, U>[src]

fn ceil(self) -> Self[src]

impl<T: Ceil, U> Ceil for Size2D<T, U>[src]

fn ceil(self) -> Self[src]

impl<T: Ceil, U> Ceil for Size3D<T, U>[src]

fn ceil(self) -> Self[src]

impl<T: Ceil, U> Ceil for Vector2D<T, U>[src]

fn ceil(self) -> Self[src]

impl<T: Ceil, U> Ceil for Vector3D<T, U>[src]

fn ceil(self) -> Self[src]

Loading content...