pub struct RecordForm<'t> {
pub shape: &'t Arc<RecordShape>,
pub fields: Vec<Type>,
}Expand description
A record type: its shape, and its fields’ types in declaration order with the record’s arguments in place.
Fields§
§shape: &'t Arc<RecordShape>The shape its values are built with, which names the fields.
fields: Vec<Type>Each field’s type, in declaration order.
Trait Implementations§
Source§impl<'t> Clone for RecordForm<'t>
impl<'t> Clone for RecordForm<'t>
Auto Trait Implementations§
impl<'t> Forget for RecordForm<'t>
impl<'t> Freeze for RecordForm<'t>
impl<'t> Move for RecordForm<'t>
impl<'t> RefUnwindSafe for RecordForm<'t>
impl<'t> Send for RecordForm<'t>
impl<'t> Sync for RecordForm<'t>
impl<'t> Unpin for RecordForm<'t>
impl<'t> UnsafeUnpin for RecordForm<'t>where
&'t Arc<RecordShape>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
impl<'t> UnwindSafe for RecordForm<'t>
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