Expand description
The Mun Runtime
The Mun Runtime provides functionality for automatically hot reloading Mun C ABI compliant shared libraries.
Structs§
- Array
Ref - 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
- Field
Data - A linked version of a struct field.
- Function
Definition - A linked version of
mun_abi::FunctionDefinition
that has resolved all occurrences ofTypeId
withTypeInfo
. - Function
Prototype - A linked version of
mun_abi::FunctionPrototype
that has resolved all occurrences ofTypeId
withTypeInfo
. - Function
Signature - A linked version of
mun_abi::FunctionSignature
that has resolved all occurrences ofTypeId
withTypeInfo
. - Invoke
Err - An error that might occur when calling a mun function from Rust.
- Pointer
Type - Reference information of a pointer
- Rooted
Array - Type-agnostic wrapper for interoperability with a Mun struct, that has been rooted. To marshal,
obtain a
ArrayRef
for theRootedArray
. - Rooted
Struct - Type-agnostic wrapper for interoperability with a Mun struct, that has been rooted. To marshal,
obtain a
StructRef
for theRootedStruct
. - Runtime
- A runtime for the Mun language.
- Runtime
Builder - A builder for the
Runtime
. - Runtime
Options - Options for the construction of a
Runtime
. - Struct
Ref - 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.
- Struct
Type - 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§
- Argument
Reflection - A type to emulate dynamic typing across compilation units for statically typed values.
- HasStatic
Type - A trait that defines static type information for types that can provide it.
- Into
Function Definition - A value-to-
FunctionDefinition
conversion that consumes the input value. - Invoke
Args - 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.
- Return
Type Reflection - A type to emulate dynamic typing across compilation units for static types.