pub struct WasmContType(/* private fields */);Expand description
WebAssembly continuation type – equivalent of wasmparser’s ContType.
Implementations§
Source§impl WasmContType
 
impl WasmContType
Sourcepub fn new(idx: EngineOrModuleTypeIndex) -> Self
 
pub fn new(idx: EngineOrModuleTypeIndex) -> Self
Constructs a new continuation type.
Sourcepub fn unwrap_module_type_index(self) -> ModuleInternedTypeIndex
 
pub fn unwrap_module_type_index(self) -> ModuleInternedTypeIndex
Returns the (module interned) index to the underlying function type.
Trait Implementations§
Source§impl Clone for WasmContType
 
impl Clone for WasmContType
Source§fn clone(&self) -> WasmContType
 
fn clone(&self) -> WasmContType
Returns a duplicate 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 WasmContType
 
impl Debug for WasmContType
Source§impl<'de> Deserialize<'de> for WasmContType
 
impl<'de> Deserialize<'de> for WasmContType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WasmContType
 
impl Display for WasmContType
Source§impl Hash for WasmContType
 
impl Hash for WasmContType
Source§impl PartialEq for WasmContType
 
impl PartialEq for WasmContType
Source§impl Serialize for WasmContType
 
impl Serialize for WasmContType
Source§impl TypeTrace for WasmContType
 
impl TypeTrace for WasmContType
Source§fn trace_mut<F, E>(&mut self, func: &mut F) -> Result<(), E>
 
fn trace_mut<F, E>(&mut self, func: &mut F) -> Result<(), E>
Visit each edge, mutably. Read more
Source§fn trace_engine_indices<F, E>(&self, func: &mut F) -> Result<(), E>
 
fn trace_engine_indices<F, E>(&self, func: &mut F) -> Result<(), E>
Trace all 
VMSharedTypeIndex edges, ignoring other edges.Source§fn canonicalize_for_runtime_usage<F>(&mut self, module_to_engine: &mut F)
 
fn canonicalize_for_runtime_usage<F>(&mut self, module_to_engine: &mut F)
Canonicalize 
self by rewriting all type references inside self from
module-level interned type indices to engine-level interned type
indices. Read moreSource§fn is_canonicalized_for_runtime_usage(&self) -> bool
 
fn is_canonicalized_for_runtime_usage(&self) -> bool
Is this type canonicalized for runtime usage?
Source§fn canonicalize_for_hash_consing<F>(
    &mut self,
    rec_group_range: Range<ModuleInternedTypeIndex>,
    module_to_engine: &mut F,
)
 
fn canonicalize_for_hash_consing<F>( &mut self, rec_group_range: Range<ModuleInternedTypeIndex>, module_to_engine: &mut F, )
Canonicalize 
self by rewriting all type references inside self from
module-level interned type indices to either engine-level interned type
indices or recgroup-relative indices. Read moreSource§fn is_canonicalized_for_hash_consing(&self) -> bool
 
fn is_canonicalized_for_hash_consing(&self) -> bool
Is this type canonicalized for hash consing?
impl Eq for WasmContType
impl StructuralPartialEq for WasmContType
Auto Trait Implementations§
impl Freeze for WasmContType
impl RefUnwindSafe for WasmContType
impl Send for WasmContType
impl Sync for WasmContType
impl Unpin for WasmContType
impl UnwindSafe for WasmContType
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.