Module safe_transmute::to_bytes
source · Expand description
Functions for transmutation from a concrete type to bytes.
Functions§
- guarded_transmute_to_bytes_pod_manyDeprecatedTransmute a slice of arbitrary types into a slice of their bytes.
- Transmute a single instance of a trivially transmutable type into a slice of its bytes.
- Transmute a single instance of a trivially transmutable type into a slice of its bytes.
- Transmute a slice of arbitrary types into a slice of their bytes.
- Transmute a slice of arbitrary types into a slice of their bytes.
- Transmute a mutable slice of arbitrary types into a mutable slice of their bytes.
- Transmute a mutable slice of a trivially transmutable type into a mutable slice of its bytes.
- Transmute a single instance of an arbitrary type into a slice of its bytes.
- Transmute a single mutable instance of an arbitrary type into a mutable slice of its bytes.
- Transmute a vector of elements of an arbitrary type into a vector of their bytes, using the same memory buffer as the former.