Struct tinywasm_wasmparser::types::InstanceType  
source · pub struct InstanceType {
    pub kind: CoreInstanceTypeKind,
    /* private fields */
}Expand description
Represents a module instance type.
Fields§
§kind: CoreInstanceTypeKindThe 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 moresource§impl Debug for InstanceType
 
impl Debug for InstanceType
source§impl TypeData for InstanceType
 
impl TypeData for InstanceType
§type Id = ComponentCoreInstanceTypeId
 
type Id = ComponentCoreInstanceTypeId
The identifier for this type data.
Auto Trait Implementations§
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnwindSafe for InstanceType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more