pub struct StructDef {
pub name: String,
pub abilities: AbilitySet,
pub fields: Vec<FieldDef>,
}Expand description
A struct (or resource) definition
Fields§
§name: StringStruct name (fully-qualified or simple)
abilities: AbilitySetAbility set declared on the struct
fields: Vec<FieldDef>Field definitions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructDef
impl RefUnwindSafe for StructDef
impl Send for StructDef
impl Sync for StructDef
impl Unpin 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