Crate ami [] [src]

Aldaron's Memory Interface is a library for manipulating memory.

Modules

repurpose [
Deprecated
]

This module is for repurposing memory allocated by rust.

void_pointer [
Deprecated
]

This module is for repurposing memory returned from or sent to FFI.

Structs

HeapData

A safe wrapper around a T pointer.

RawData

A safe wrapper around a void pointer.

UnsafeData

An unsafe wrapper around a Void pointer.

Vec

A growable array on the heap.

Enums

Void

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

Constants

NULL

Represents a NULL pointer. To use with ffi: NULL.as_ptr()

Functions

size_of

Get the size of type T, in bytes.