pub enum ClassBodyMember<'tree> {
ClassStaticBlock(Box<ClassStaticBlock<'tree>>),
FieldDefinition(Box<FieldDefinition<'tree>>),
MethodDefinition(Box<MethodDefinition<'tree>>),
}Variants§
ClassStaticBlock(Box<ClassStaticBlock<'tree>>)
FieldDefinition(Box<FieldDefinition<'tree>>)
MethodDefinition(Box<MethodDefinition<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ClassBodyMember<'tree>
impl<'tree> Clone for ClassBodyMember<'tree>
Source§fn clone(&self) -> ClassBodyMember<'tree>
fn clone(&self) -> ClassBodyMember<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for ClassBodyMember<'tree>
impl<'tree> Debug for ClassBodyMember<'tree>
Source§impl<'tree> FromNode<'tree> for ClassBodyMember<'tree>
impl<'tree> FromNode<'tree> for ClassBodyMember<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ClassBodyMember<'tree>
impl<'tree> RefUnwindSafe for ClassBodyMember<'tree>
impl<'tree> Send for ClassBodyMember<'tree>
impl<'tree> Sync for ClassBodyMember<'tree>
impl<'tree> Unpin for ClassBodyMember<'tree>
impl<'tree> UnsafeUnpin for ClassBodyMember<'tree>
impl<'tree> UnwindSafe for ClassBodyMember<'tree>
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