Struct cranelift_wasm::wasmparser::types::InstanceType
source · pub struct InstanceType {
pub kind: InstanceTypeKind,
/* private fields */
}
Expand description
Represents a module instance type.
Fields§
§kind: InstanceTypeKind
The kind of module instance type.
Implementations§
source§impl InstanceType
impl InstanceType
sourcepub fn exports<'a>(
&'a self,
types: TypesRef<'a>
) -> &'a IndexMap<String, EntityType, RandomState>
pub fn exports<'a>( &'a self, types: TypesRef<'a> ) -> &'a IndexMap<String, EntityType, RandomState>
Gets the exports of the instance type.
Trait Implementations§
source§impl Clone for InstanceType
impl Clone for InstanceType
source§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more