[][src]Trait typelayout::Layout

pub trait Layout {
    type Size: Unsigned;
    type Align: Unsigned;

    const SIZE: usize;
    const ALIGN: usize;
}

The layout of a type.

Associated Types

type Size: Unsigned

The size of the type, in bytes.

type Align: Unsigned

The alignment of the type, in bytes.

Loading content...

Associated Constants

const SIZE: usize

The size of the type, in bytes.

const ALIGN: usize

The alignment of the type, in bytes.

Loading content...

Implementors

impl<T: Align<C> + Size<C>> Layout for T[src]

type Size = Self::Value

type Align = Self::Value

Loading content...