Skip to main content

Backing

Trait Backing 

Source
pub trait Backing:
    Copy
    + Eq
    + Ord
    + Hash
    + Default
    + Sealed { }
Expand description

Marker trait for valid decimal backing types.

Only i32, i64, and i128 implement this trait. It is sealed and cannot be implemented for external types.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Backing for i32

Source§

impl Backing for i64

Source§

impl Backing for i128

Implementors§