Crate ami [] [src]

Aldaron's Memory Interface is a library developed by Plop Grizzly for manipulating memory.

Macros

cast

Cast a constant pointer to another type.

cast_mut

Cast a mutable pointer to another type.

null

Obtain a null pointer.

null_mut

Obtain a mutable null pointer.

Structs

HeapMem

Memory on the heap - managed by Rust.

MemAddr

Pointer to memory managed by C.

Vec

A growable array on the heap.

Enums

Void

Void type for C's void *. Use as *mut Void.

Functions

size_of

Get the size of type T, in bytes.

transmute

Copy bits ( raw data ) from T to U. Make sure types are same size. This function is unsafe because it does no checking.