Expand description
Basic utilities for dealing with memory, values, and types.
Traits§
- AsRepr
- Type that is layout-compatible with a primitive representation.
- AsRepr
Mut - Type that is bi-directionally transmutable with a primitive representation.
Functions§
- safe_
transmute - Safely transmutes a value of one type to a value of another type of the same size.
- transmute⚠
- Version of
transmutethat performs size check at monomorphization-time. - transmute_
unchecked ⚠ - Transmute between two types.