Module mun_memory::ffi

source ·

Structs

Additional information of an array Type.
Information of a field of a struct Type.
An array of Fields.
Additional information of a pointer Type.
Additional information of a struct Type.
A Type holds information about a mun type.
An array of Types.

Enums

An enum that defines the kind of type.

Functions

Increments the usage count of the specified type.
Returns the alignment requirements of the type.
Returns a new Type that is an array of the specified type.
Compares two different Types. Returns true if the two types are equal. If either of the two types is invalid because for instance it contains null pointers this function returns false.
Returns information about what kind of type this is.
Retrieves the type’s name.
Returns a new Type that is a pointer to the specified type.
Notifies the runtime that the specified type is no longer used. Any use of the type after calling this function results in undefined behavior.
Returns the storage size required for a type. The storage size does not include any padding to align the size. Call mun_type_alignment to request the alignment of the type.
Destroys the contents of a Types struct.