pub struct Tuple<'a> {
pub fields: Vec<ComponentValType<'a>>,
}Available on crate feature
component-model only.Expand description
A tuple type.
Fields§
§fields: Vec<ComponentValType<'a>>The types of the fields of the tuple.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Tuple<'a>
impl<'a> RefUnwindSafe for Tuple<'a>
impl<'a> Send for Tuple<'a>
impl<'a> Sync for Tuple<'a>
impl<'a> Unpin for Tuple<'a>
impl<'a> UnwindSafe for Tuple<'a>
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