pub struct Classdef {
pub decorators: Vec<Decorator>,
pub name: String,
pub arguments: Vec<Argument>,
pub code: Vec<Statement>,
}
Expand description
A class definition, including its decorators.
Fields§
§decorators: Vec<Decorator>
§name: String
§arguments: Vec<Argument>
§code: Vec<Statement>
Trait Implementations§
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