[go: up one dir, main page]

Module mem

Source
Expand description

§Basic functions for dealing with memory

This module contains functions to help dealing with direct memory manipulation and inspection.

Functions§

as_bytes
Alias a type as a byte slice.
as_bytes_mut
Alias a type as a mutable byte slice.
bswap_copy
Creates a copy of v with the order of all bytes reversed.
eq
Compare backing memory for equality.
transmute_copy_uninit
Unsafely interprets a copy of src as Dst.