Trait std::num::Round

pub trait Round {
    fn floor(&self) -> Self;
    fn ceil(&self) -> Self;
    fn round(&self) -> Self;
    fn trunc(&self) -> Self;
    fn fract(&self) -> Self;
}

Required Methods

fn floor(&self) -> Self

fn ceil(&self) -> Self

fn round(&self) -> Self

fn trunc(&self) -> Self

fn fract(&self) -> Self

Implementors