Element

Trait Element 

Source
pub trait Element: Copy + Sealed {
    const DATA_TRANSFER_ID: u8;
}
Expand description

Describes a transferrable DMA element; basically, an unsigned integer of any size.

Required Associated Constants§

Source

const DATA_TRANSFER_ID: u8

An identifier describing the data transfer size

Part of the TCD API; see documentation on TCD[SSIZE] and TCD[DSIZE] for more information.

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

Source§

impl Element for u16

Source§

impl Element for u32

Source§

impl Element for u64

Implementors§