pub struct StructDef {
pub header: TypeHeader,
pub fields: Vec<StructField>,
/* private fields */
}Fields§
§header: TypeHeader§fields: Vec<StructField>Implementations§
Source§impl StructDef
impl StructDef
pub fn new(header: TypeHeader, fields: Vec<StructField>) -> Self
pub fn symbol_name(&self) -> &str
Trait Implementations§
Source§impl From<StructDef> for Definition
impl From<StructDef> for Definition
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 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