pub struct StructDef {
pub fields: Vec<FieldDef>,
}Expand description
A struct definition containing an ordered list of field definitions.
Fields§
§fields: Vec<FieldDef>Ordered list of fields. Uses Vec to preserve declaration order for error messages.
Trait Implementations§
impl StructuralPartialEq for StructDef
Auto Trait Implementations§
impl Freeze for StructDef
impl RefUnwindSafe for StructDef
impl Send for StructDef
impl Sync for StructDef
impl Unpin for StructDef
impl UnsafeUnpin for StructDef
impl UnwindSafe for StructDef
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