PhysicalPType

Trait PhysicalPType 

Source
pub trait PhysicalPType: NativePType {
    type Physical: NativePType + Unsigned;
}
Expand description

A trait that allows conversion from a PType to its physical representation (i.e., unsigned)

Required Associated Types§

Source

type Physical: NativePType + Unsigned

The physical type that corresponds to this native type.

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 PhysicalPType for i8

Source§

impl PhysicalPType for i16

Source§

impl PhysicalPType for i32

Source§

impl PhysicalPType for i64

Source§

impl PhysicalPType for u8

Source§

impl PhysicalPType for u16

Source§

impl PhysicalPType for u32

Source§

impl PhysicalPType for u64

Implementors§