Skip to main content

Module layout

Module layout 

Source
Expand description

Representation stability and trap/robustness classification.

This module provides the marker types used by crate::RustSpec::Layout. Stability describes whether Rust guarantees the representation shape. Robustness describes whether the represented value space has trap values that require validity care.

Enums§

NonRobust
Marker for a non-robust type that is still transmuted by the ABI layer.
Robust
Marker for a robust type that does not require validity conversion.

Traits§

LayoutKind
Closed family of representation-stability classifications.