Trait FieldSpec

Source
pub trait FieldSpec: Sized {
    type Ux: Copy + PartialEq + From<Self>;
}
Expand description

Raw field type

Required Associated Types§

Source

type Ux: Copy + PartialEq + From<Self>

Raw field type (u8, u16, u32, …).

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 FieldSpec for u8

Source§

type Ux = u8

Source§

impl FieldSpec for u16

Source§

impl FieldSpec for u32

Source§

impl FieldSpec for u64

Implementors§