pub trait Dec<const N: usize> {
const TWOS_COMPLEMENT_BYTE_WIDTH: usize;
// Required methods
fn context() -> Context<Decimal<N>>;
fn u128_splitter() -> &'static Decimal<N>;
}
Expand description
Traits to generalize converting Decimal
values to and from their
coefficients’ two’s complements.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.