Enum wast::component::ComponentDefinedType
source · [−]pub enum ComponentDefinedType<'a> {
Primitive(PrimitiveValType),
Record(Record<'a>),
Variant(Variant<'a>),
List(List<'a>),
Tuple(Tuple<'a>),
Flags(Flags<'a>),
Enum(Enum<'a>),
Union(Union<'a>),
Option(OptionType<'a>),
Result(ResultType<'a>),
}
Variants
Primitive(PrimitiveValType)
Record(Record<'a>)
Variant(Variant<'a>)
List(List<'a>)
Tuple(Tuple<'a>)
Flags(Flags<'a>)
Enum(Enum<'a>)
Union(Union<'a>)
Option(OptionType<'a>)
Result(ResultType<'a>)
Trait Implementations
sourceimpl<'a> Debug for ComponentDefinedType<'a>
impl<'a> Debug for ComponentDefinedType<'a>
sourceimpl Default for ComponentDefinedType<'_>
impl Default for ComponentDefinedType<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentDefinedType<'a>
impl<'a> Send for ComponentDefinedType<'a>
impl<'a> Sync for ComponentDefinedType<'a>
impl<'a> Unpin for ComponentDefinedType<'a>
impl<'a> UnwindSafe for ComponentDefinedType<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more