Struct wast::component::RecordField
source · [−]pub struct RecordField<'a> {
pub name: &'a str,
pub ty: ComponentValType<'a>,
}
Expand description
A record type field.
Fields
name: &'a str
The name of the field.
ty: ComponentValType<'a>
The type of the field.
Trait Implementations
sourceimpl<'a> Debug for RecordField<'a>
impl<'a> Debug for RecordField<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for RecordField<'a>
impl<'a> Send for RecordField<'a>
impl<'a> Sync for RecordField<'a>
impl<'a> Unpin for RecordField<'a>
impl<'a> UnwindSafe for RecordField<'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