Expand description
Memory, extends core::mem
.
Modules
- This crate gives small utilities for casting between plain data types.
Traits
- A marker trait that allows types that have some invalid bit patterns to be used in places that otherwise require
AnyBitPattern
orPod
types by performing a runtime check on a perticular set of bits. This is particularly useful for types like fieldless (‘C-style’) enums,char
, bool, and structs containing them. - Marker trait for “plain old data” types with no uninit (or padding) bytes.