Crate mun_runtime

Source
Expand description

The Mun Runtime

The Mun Runtime provides functionality for automatically hot reloading Mun C ABI compliant shared libraries.

Structs§

ArrayRef
Type-agnostic wrapper for interoperability with a Mun array. This is merely a reference to the Mun array, that will be garbage collected unless it is rooted.
Assembly
An assembly is a hot reloadable compilation unit, consisting of one or more Mun modules.
Field
FieldData
A linked version of a struct field.
FunctionDefinition
A linked version of mun_abi::FunctionDefinition that has resolved all occurrences of TypeId with TypeInfo.
FunctionPrototype
A linked version of mun_abi::FunctionPrototype that has resolved all occurrences of TypeId with TypeInfo.
FunctionSignature
A linked version of mun_abi::FunctionSignature that has resolved all occurrences of TypeId with TypeInfo.
InvokeErr
An error that might occur when calling a mun function from Rust.
PointerType
Reference information of a pointer
RootedArray
Type-agnostic wrapper for interoperability with a Mun struct, that has been rooted. To marshal, obtain a ArrayRef for the RootedArray.
RootedStruct
Type-agnostic wrapper for interoperability with a Mun struct, that has been rooted. To marshal, obtain a StructRef for the RootedStruct.
Runtime
A runtime for the Mun language.
RuntimeBuilder
A builder for the Runtime.
RuntimeOptions
Options for the construction of a Runtime.
StructRef
Type-agnostic wrapper for interoperability with a Mun struct. This is merely a reference to the Mun struct, that will be garbage collected unless it is rooted.
StructType
Reference information of a struct
Type
A reference to internally stored type information. A Type can be used to query information, construct other types, or store type information for later use.

Traits§

ArgumentReflection
A type to emulate dynamic typing across compilation units for statically typed values.
HasStaticType
A trait that defines static type information for types that can provide it.
IntoFunctionDefinition
A value-to-FunctionDefinition conversion that consumes the input value.
InvokeArgs
A trait that handles calling a certain function with a set of arguments. This trait is implemented for tuples up to and including 20 elements.
Marshal
Used to do value-to-value conversions that require runtime type information while consuming the input value.
ReturnTypeReflection
A type to emulate dynamic typing across compilation units for static types.