pub struct Union<'a> {
pub types: Vec<ComponentValType<'a>>,
}
Expand description
A union type.
Fields
types: Vec<ComponentValType<'a>>
The types of the union.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Union<'a>
impl<'a> Send for Union<'a>
impl<'a> Sync for Union<'a>
impl<'a> Unpin for Union<'a>
impl<'a> UnwindSafe for Union<'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