pub struct SubType {
pub is_final: bool,
pub supertype: Option<TypeAddr>,
pub composite: CompositeType,
}Expand description
A type with optional declared subtyping.
See https://webassembly.github.io/spec/core/syntax/types.html#syntax-subtype
Fields§
§is_final: bool§supertype: Option<TypeAddr>§composite: CompositeTypeImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubType
impl<'de> Deserialize<'de> for SubType
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
impl Eq for SubType
impl StructuralPartialEq for SubType
Auto Trait Implementations§
impl Freeze for SubType
impl RefUnwindSafe for SubType
impl Send for SubType
impl Sync for SubType
impl Unpin for SubType
impl UnsafeUnpin 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