pub enum ClassItem {
Property(Box<ClassItemProperty>),
Method(Box<ClassItemMethod>),
Constraint(Box<ClassItemConstraint>),
Declaration(Box<ClassItemDeclaration>),
Covergroup(Box<ClassItemCovergroup>),
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol)>),
ParameterDeclaration(Box<(ParameterDeclaration, Symbol)>),
Empty(Box<Symbol>),
}
Variants§
Property(Box<ClassItemProperty>)
Method(Box<ClassItemMethod>)
Constraint(Box<ClassItemConstraint>)
Declaration(Box<ClassItemDeclaration>)
Covergroup(Box<ClassItemCovergroup>)
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol)>)
ParameterDeclaration(Box<(ParameterDeclaration, Symbol)>)
Empty(Box<Symbol>)
Trait Implementations§
source§impl<'a> IntoIterator for &'a ClassItem
impl<'a> IntoIterator for &'a ClassItem
source§impl PartialEq for ClassItem
impl PartialEq for ClassItem
impl StructuralPartialEq for ClassItem
Auto Trait Implementations§
impl RefUnwindSafe for ClassItem
impl Send for ClassItem
impl Sync for ClassItem
impl Unpin for ClassItem
impl UnwindSafe for ClassItem
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