Trait speedy2d::numeric::RoundFloat[][src]

pub trait RoundFloat {
    fn round(&self) -> Self;
}
Expand description

Types implementing this trait can be rounded to the nearest integer value. In the case of vectors or other types containing multiple elements, each element will be individually rounded.

Required methods

Round this value to the nearest integer. In the case of vectors or other types containing multiple elements, each element will be individually rounded.

Implementations on Foreign Types

Implementors