Struct wasmtime_environ::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 moreAuto 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