Trait Precise

Source
pub trait Precise {
    // Required method
    fn round(&self, other: &Precision) -> Self;
}

Required Methods§

Source

fn round(&self, other: &Precision) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Precise for Decimal256

Source§

fn round(&self, p: &Precision) -> Self

Source§

impl Precise for Decimal

Source§

fn round(&self, p: &Precision) -> Self

Implementors§