pub struct ClassDef {
pub name: String,
pub super_class: Option<String>,
pub constructor: Option<(Vec<String>, Vec<Stmt>)>,
pub methods: HashMap<String, (Vec<String>, Vec<Stmt>)>,
}Fields§
§name: String§super_class: Option<String>§constructor: Option<(Vec<String>, Vec<Stmt>)>§methods: HashMap<String, (Vec<String>, Vec<Stmt>)>Trait Implementations§
impl StructuralPartialEq for ClassDef
Auto Trait Implementations§
impl !RefUnwindSafe for ClassDef
impl !Send for ClassDef
impl !Sync for ClassDef
impl !UnwindSafe for ClassDef
impl Forget for ClassDef
impl Freeze for ClassDef
impl Move for ClassDef
impl Unpin for ClassDef
impl UnsafeUnpin 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