Module safe_transmute::base[−][src]

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

from_bytes⚠

Convert a byte slice into a single instance of a Copyable type.

from_bytes_pedantic⚠

Convert a byte slice into a single instance of a Copyable type.

transmute_many⚠

View a byte slice as a slice of an arbitrary type.

transmute_many_mut⚠

View a mutable byte slice as a slice of an arbitrary type.

transmute_many_permissive⚠

View a byte slice as a slice of an arbitrary type.

transmute_vec⚠

Transform a vector into a vector of another element type.