Skip to main content

RegisterArray

Trait RegisterArray 

Source
pub trait RegisterArray: Register {
    const SIZE: usize;
    const STRIDE: usize;
}
Expand description

Trait implemented by arrays of registers.

Required Associated Constants§

Source

const SIZE: usize

Number of elements in the registers array.

Source

const STRIDE: usize

Number of bytes between the start of elements in the registers array.

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§