[−][src]Trait euclid::num::Floor
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).
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]
See Point2D::floor()
impl<T: Floor, U> Floor for Point3D<T, U>
[src]
fn floor(self) -> Self
[src]
See Point3D::floor()
impl<T: Floor, U> Floor for Size2D<T, U>
[src]
fn floor(self) -> Self
[src]
See Size2D::floor()
impl<T: Floor, U> Floor for Size3D<T, U>
[src]
fn floor(self) -> Self
[src]
See Size3D::floor()