[][src]Trait euclid::num::Floor

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

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

Required methods

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

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

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

Loading content...

Implementations on Foreign Types

impl Floor for i16[src]

impl Floor for u16[src]

impl Floor for i32[src]

impl Floor for u32[src]

impl Floor for i64[src]

impl Floor for u64[src]

impl Floor for isize[src]

impl Floor for usize[src]

impl Floor for f32[src]

impl Floor for f64[src]

Loading content...

Implementors

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

fn floor(self) -> Self[src]

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

fn floor(self) -> Self[src]

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

fn floor(self) -> Self[src]

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

fn floor(self) -> Self[src]

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

fn floor(self) -> Self[src]

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

fn floor(self) -> Self[src]

Loading content...