pub struct RecordType {
pub def_id: DefId,
pub name: String,
pub generics: u32,
pub fields: Vec<RecordField>,
}Expand description
A record (struct) declaration with typed fields.
Fields§
§def_id: DefId§name: String§generics: u32Number of generic parameters.
fields: Vec<RecordField>Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnsafeUnpin for RecordType
impl UnwindSafe for RecordType
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