Struct mun_abi::ModuleInfo

source ·
#[repr(C)]
pub struct ModuleInfo<'a> { pub num_functions: u32, pub num_types: u32, /* private fields */ }
Expand description

Represents a module declaration.

Fields§

§num_functions: u32

Number of module functions

§num_types: u32

Number of module types

Implementations§

Returns the module’s full path.

Returns the module’s functions.

Returns the module’s types.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.