Crate mun_abi[][src]

The Mun ABI

The Mun ABI defines the binary format used to communicate between the Mun Compiler and Mun Runtime.

Modules

prelude

The Mun ABI prelude

Structs

AssemblyInfo

Represents an assembly declaration.

DispatchTable

Represents a function dispatch table. This is used for runtime linking.

FunctionDefinition

Represents a function definition. A function definition contains the name, type signature, and a pointer to the implementation.

FunctionDefinitionStorage

Owned storage for C-style FunctionDefinition.

FunctionPrototype

Represents a function prototype. A function prototype contains the name, type signature, but not an implementation.

FunctionSignature

Represents a function signature.

Guid

Represents a globally unique identifier (GUID).

ModuleInfo

Represents a module declaration.

StructInfo

Represents a struct declaration.

TypeInfo

Represents the type declaration for a value type.

Enums

Privacy

Represents the privacy level of modules, functions, or variables.

StructMemoryKind

Represents the kind of memory management a struct uses.

TypeInfoData

Contains data specific to a group of types that illicit the same characteristics.

Constants

ABI_VERSION

Defines the current ABI version

GET_INFO_FN_NAME

Defines the name for the get_info function

GET_VERSION_FN_NAME

Defines the name for the get_version function

SET_ALLOCATOR_HANDLE_FN_NAME

Defines the name for the set_allocator_handle function

Traits

HasStaticTypeInfo

A trait that defines that for a type we can statically return a TypeInfo.

IntoFunctionDefinition

A value-to-FunctionDefinition conversion that consumes the input value.