Struct wasm_encoder::SubType
source · pub struct SubType {
pub is_final: bool,
pub supertype_idx: Option<u32>,
pub structural_type: StructuralType,
}
Expand description
Represents a subtype of possible other types in a WebAssembly module.
Fields§
§is_final: bool
Is the subtype final.
supertype_idx: Option<u32>
The list of supertype indexes. As of GC MVP, there can be at most one supertype.
structural_type: StructuralType
The structural type of the subtype.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SubType
impl Send for SubType
impl Sync for SubType
impl Unpin for SubType
impl UnwindSafe for SubType
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