Trait Layout

Source
pub trait Layout {
    type Mapping<S: Shape>: Mapping<Shape = S, Layout = Self>;

    const IS_DENSE: bool;
}
Expand description

Array memory layout trait.

Required Associated Constants§

Source

const IS_DENSE: bool

True if the layout type is dense.

Required Associated Types§

Source

type Mapping<S: Shape>: Mapping<Shape = S, Layout = Self>

Array layout mapping 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§