Expand description
Functions for transmutation from a concrete type to bytes.
Functions§
- guarded_
transmute_ to_ bytes_ pod_ many Deprecated - Transmute a slice of arbitrary types into a slice of their bytes.
- transmute_
one_ to_ bytes - Transmute a single instance of a trivially transmutable type into a slice of its bytes.
- transmute_
one_ to_ bytes_ mut - Transmute a single instance of a trivially transmutable type into a slice of its bytes.
- transmute_
to_ bytes - Transmute a slice of arbitrary types into a slice of their bytes.
- transmute_
to_ ⚠bytes_ many_ unchecked - Transmute a slice of arbitrary types into a slice of their bytes.
- transmute_
to_ ⚠bytes_ many_ unchecked_ mut - Transmute a mutable slice of arbitrary types into a mutable slice of their bytes.
- transmute_
to_ bytes_ mut - Transmute a mutable slice of a trivially transmutable type into a mutable slice of its bytes.
- transmute_
to_ ⚠bytes_ unchecked - Transmute a single instance of an arbitrary type into a slice of its bytes.
- transmute_
to_ ⚠bytes_ unchecked_ mut - Transmute a single mutable instance of an arbitrary type into a mutable slice of its bytes.
- transmute_
to_ bytes_ vec - Transmute a vector of elements of an arbitrary type into a vector of their bytes, using the same memory buffer as the former.