Enum wast::component::ComponentValType
source · [−]pub enum ComponentValType<'a> {
Inline(ComponentDefinedType<'a>),
Ref(Index<'a>),
}
Expand description
A component value type.
Variants
Inline(ComponentDefinedType<'a>)
The value type is an inline defined type.
Ref(Index<'a>)
The value type is an index reference to a defined type.
Trait Implementations
sourceimpl<'a> Debug for ComponentValType<'a>
impl<'a> Debug for ComponentValType<'a>
sourceimpl From<&'_ ComponentValType<'_>> for ComponentValType
impl From<&'_ ComponentValType<'_>> for ComponentValType
sourcefn from(r: &ComponentValType<'_>) -> Self
fn from(r: &ComponentValType<'_>) -> Self
Performs the conversion.
sourceimpl<'a> Parse<'a> for ComponentValType<'a>
impl<'a> Parse<'a> for ComponentValType<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentValType<'a>
impl<'a> Send for ComponentValType<'a>
impl<'a> Sync for ComponentValType<'a>
impl<'a> Unpin for ComponentValType<'a>
impl<'a> UnwindSafe for ComponentValType<'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