Trait ch32x0::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, …).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FieldSpec for u8

§

type Ux = u8

source§

impl FieldSpec for u16

§

type Ux = u16

source§

impl FieldSpec for u32

§

type Ux = u32

source§

impl FieldSpec for u64

§

type Ux = u64

Implementors§

source§

impl FieldSpec for ch32x0::ch32x035::usbpd::port_cc1::CC_CE_A

§

type Ux = u8

source§

impl FieldSpec for ch32x0::ch32x035::usbpd::port_cc1::CC_PU_A

§

type Ux = u8

source§

impl FieldSpec for ch32x0::ch32x035::usbpd::port_cc2::CC_CE_A

§

type Ux = u8

source§

impl FieldSpec for ch32x0::ch32x035::usbpd::port_cc2::CC_PU_A

§

type Ux = u8