pub struct SubType {
pub is_final: bool,
pub supertype_idx: Option<u32>,
pub composite_type: CompositeType,
}
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.
composite_type: CompositeType
The composite type of the subtype.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)