pub struct RecordField<'a> {
pub name: &'a str,
pub ty: ComponentValType<'a>,
}Available on crate feature
component-model only.Expand description
A record type field.
Fields§
§name: &'a strThe name of the field.
ty: ComponentValType<'a>The type of the field.
Trait Implementations§
Source§impl<'a> Debug for RecordField<'a>
impl<'a> Debug for RecordField<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordField<'a>
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§
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