Trait NativeDecimalType

Source
pub trait NativeDecimalType:
    Copy
    + Eq
    + Ord {
    const VALUES_TYPE: DecimalValueType;
}
Expand description

Type of decimal scalar values.

Required Associated Constants§

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§

Source§

impl NativeDecimalType for i8

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I8

Source§

impl NativeDecimalType for i16

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I16

Source§

impl NativeDecimalType for i32

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I32

Source§

impl NativeDecimalType for i64

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I64

Source§

impl NativeDecimalType for i128

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I128

Source§

impl NativeDecimalType for i256

Source§

const VALUES_TYPE: DecimalValueType = DecimalValueType::I256

Implementors§