embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Word

Trait Word 

Source
pub trait Word: Copy + 'static {
    // Required method
    fn size() -> WordSize;
}
Expand description

Trait for types that can be transferred via DMA.

This provides compile-time type safety for DMA transfers.

Required Methods§

Source

fn size() -> WordSize

The word size for this 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 Word for u8

Source§

impl Word for u16

Source§

impl Word for u32

Implementors§