Trait repr::adt::numeric::Dec[][src]

pub trait Dec<const N: usize> {
    const TWOS_COMPLEMENT_BYTE_WIDTH: usize;

    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.

Associated Constants

Required methods

Implementors