pub struct ClassDef {
pub name: String,
pub bases: Vec<Expr>,
pub keywords: Vec<Keyword>,
pub body: Vec<Stmt>,
pub decorators: Vec<Expr>,
pub span: Span,
}Fields§
§name: String§bases: Vec<Expr>§keywords: Vec<Keyword>§body: Vec<Stmt>§decorators: Vec<Expr>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ClassDef
impl RefUnwindSafe for ClassDef
impl Send for ClassDef
impl Sync for ClassDef
impl Unpin for ClassDef
impl UnsafeUnpin 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