Skip to main content

EQSupported

Trait EQSupported 

Source
pub trait EQSupported<T: PrimInt>:
    PrimInt
    + Display
    + ConstZero
    + ConstOne
    + SignHelper<T>
    + TryInto<i64>
    + TryInto<i128>
    + TryInto<u64>
    + TryInto<u128> {
    const EXPONENT_BASE: T;
}
Expand description

Marker trait indicating that a type is supported as a storage type for EngineeringQuantity.

Required Associated Constants§

Source

const EXPONENT_BASE: T

Always 1000 (used internally)

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 EQSupported<i16> for i16

Source§

impl EQSupported<i32> for i32

Source§

impl EQSupported<i64> for i64

Source§

impl EQSupported<i128> for i128

Source§

impl EQSupported<isize> for isize

Source§

impl EQSupported<u16> for u16

Source§

impl EQSupported<u32> for u32

Source§

impl EQSupported<u64> for u64

Source§

impl EQSupported<u128> for u128

Source§

impl EQSupported<usize> for usize

Implementors§