pub struct ClassDecl {
pub name: String,
pub base: Option<Box<Expr>>,
pub interfaces: Vec<Box<Expr>>,
pub members: Vec<Decl>,
pub is_static: bool,
pub is_abstract: bool,
pub is_sealed: bool,
pub is_partial: bool,
pub is_readonly: bool,
pub visibility: Visibility,
pub type_params: Vec<TypeParam>,
pub span: Span,
}Fields§
§name: String§base: Option<Box<Expr>>§interfaces: Vec<Box<Expr>>§members: Vec<Decl>§is_static: bool§is_abstract: bool§is_sealed: bool§is_partial: bool§is_readonly: bool§visibility: Visibility§type_params: Vec<TypeParam>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ClassDecl
impl RefUnwindSafe for ClassDecl
impl Send for ClassDecl
impl Sync for ClassDecl
impl Unpin for ClassDecl
impl UnsafeUnpin for ClassDecl
impl UnwindSafe for ClassDecl
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