atsamd_hal::sercom::uart

Trait FixedCharSize

Source
pub trait FixedCharSize: CharSize {
    const SIZE: CharSizeEnum;
}
Expand description

Type-level enum indicating a CharSize that is not dynamic

Required Associated Constants§

Source

const SIZE: CharSizeEnum

Bits to write into the LENGTH register

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.

Implementors§

Source§

impl FixedCharSize for EightBit

Source§

const SIZE: CharSizeEnum = CharSizeEnum::EightBit

Source§

impl FixedCharSize for FiveBit

Source§

const SIZE: CharSizeEnum = CharSizeEnum::FiveBit

Source§

impl FixedCharSize for NineBit

Source§

const SIZE: CharSizeEnum = CharSizeEnum::NineBit

Source§

impl FixedCharSize for SevenBit

Source§

const SIZE: CharSizeEnum = CharSizeEnum::SevenBit

Source§

impl FixedCharSize for SixBit

Source§

const SIZE: CharSizeEnum = CharSizeEnum::SixBit