pub struct ClassDecl {
pub kind: ClassKind,
pub name: Ident,
pub type_params: Vec<AstTypeParam>,
pub extends: Option<AstTypeId>,
pub implements: Vec<AstTypeId>,
pub permits: Vec<AstTypeId>,
pub enum_entries: Vec<EnumEntry>,
pub members: Vec<ClassMemberId>,
pub modifiers: Modifiers,
}Fields§
§kind: ClassKind§name: Ident§type_params: Vec<AstTypeParam>§extends: Option<AstTypeId>§implements: Vec<AstTypeId>§permits: Vec<AstTypeId>§enum_entries: Vec<EnumEntry>§members: Vec<ClassMemberId>§modifiers: ModifiersTrait Implementations§
impl StructuralPartialEq for ClassDecl
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