Struct erg_parser::ast::ClassDef
source · pub struct ClassDef {
pub def: Def,
pub methods_list: Vec<Methods>,
}
Fields§
§def: Def
§methods_list: Vec<Methods>
Implementations§
Trait Implementations§
source§impl Locational for ClassDef
impl Locational for ClassDef
source§impl NestedDisplay for ClassDef
impl NestedDisplay for ClassDef
source§impl PartialEq for ClassDef
impl PartialEq for ClassDef
impl Eq for ClassDef
impl StructuralPartialEq for ClassDef
Auto Trait Implementations§
impl Freeze for ClassDef
impl RefUnwindSafe for ClassDef
impl Send for ClassDef
impl Sync for ClassDef
impl Unpin for ClassDef
impl UnwindSafe for ClassDef
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