Trait mz_repr::adt::numeric::Dec

source ·
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.

Implementors§

source§

impl Dec<NUMERIC_AGG_WIDTH_USIZE> for NumericAgg

source§

impl Dec<NUMERIC_DATUM_WIDTH_USIZE> for Numeric