const_type_layout

Trait TypeGraphLayout

Source
pub trait TypeGraphLayout: TypeLayout + ComputeTypeSet {
    const TYPE_GRAPH: TypeLayoutGraph<'static>;
}
Expand description

Utility trait that provides the deep layout of a type.

Required Associated Constants§

Source

const TYPE_GRAPH: TypeLayoutGraph<'static>

Shallow layout of the 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§