Trait peroxide::traits::float::FloatWithPrecision
source · pub trait FloatWithPrecision {
// Required methods
fn round_with_precision(&self, precision: usize) -> Self;
fn floor_with_precision(&self, precision: usize) -> Self;
fn ceil_with_precision(&self, precision: usize) -> Self;
}
Required Methods§
fn round_with_precision(&self, precision: usize) -> Self
fn floor_with_precision(&self, precision: usize) -> Self
fn ceil_with_precision(&self, precision: usize) -> Self
Object Safety§
This trait is not object safe.