Module mem

Module mem 

Source
Expand description

§Memory Element Descriptions

This module describes the memory integers and processor registers used to hold and manipulate bitvec data buffers.

The BitRegister trait marks the unsigned integers that correspond to processor registers, and can therefore be used for buffer control. The integers that are not BitRegister can be composed from register values, but are not able to be used in buffer type parameters.

Structs§

BitElement 👻
Unified Element Constructor

Traits§

BitRegister
Register Descriptions

Functions§

aligned_to_size 👻
Tests if a type has alignment equal to its size.
bits_of
Counts the number of bits in a value of type T.
elts
Bit Storage Calculator
layout_eq 👻
Tests if two types have identical layouts (size and alignment are equal).