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", so this trait is not object safe.

Implementations on Foreign Types§

§

impl Decimal for f32

§

const CONST_DEFAULT: f32 = 0f32

§

impl Decimal for f64

§

const CONST_DEFAULT: f64 = 0f64

Implementors§

§

impl Decimal for real

§

const CONST_DEFAULT: real = real