Skip to main content

Decimal

Trait Decimal 

pub unsafe trait Decimal: Copy {
    const CONST_DEFAULT: Self;
}

Required Associated Constants§

const CONST_DEFAULT: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl Decimal for f32

§

const CONST_DEFAULT: f32 = 0.0

§

impl Decimal for f64

§

const CONST_DEFAULT: f64 = 0.0

Implementors§

§

impl Decimal for real

§

const CONST_DEFAULT: real = real