Module safe_transmute::base
source · Expand description
Primitives for object and array transmutation.
The functions in this module are very unsafe and their use is not recommended unless you really know what you are doing.
Functions§
- Convert a byte slice into a single instance of a
Copy
able type. - Convert a byte slice into a single instance of a
Copy
able type. - View a byte slice as a slice of an arbitrary type.
- View a mutable byte slice as a slice of an arbitrary type.
- View a byte slice as a slice of an arbitrary type.
- Transform a vector into a vector of another element type.