Layout

Trait Layout 

Source
pub trait Layout {
    type Layout: Iterator;

    // Required method
    fn layout() -> Self::Layout;
}
Expand description

Associated bits layout

Required Associated Types§

Source

type Layout: Iterator

Layout iterator. Typically constant array or slice

Required Methods§

Source

fn layout() -> Self::Layout

Return iterator through layout items. Actual layout may be implemented inside this function or be a associated constant of bitfield 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.

Implementors§

Source§

impl<M: Layout, T> Layout for BitField<M, T>