[−][src]Module contrail::mem
Low-level memory management.
Warning
Pointer
and ArrayPointer
are only usable with the Memory
from the finished
MemoryBuilder
used to create the pointer (or a clone of the Memory
). It is unsafe behavior
to use a pointer with any Memory
other than what initialized it.
Structs
ArrayPointer | A reference to an array of values in memory. |
Memory | A fixed-size chunk of bytes that can be accessed and updated using pointers. |
MemoryBuilder | A growable chunk of bytes that can be built into |
Pointer | A reference to a value in memory. |
Traits
Bytes | Anything that can be converted to or from a fixed-length byte slice. |