pub struct EnumConstant<'tree> {
pub span: Span,
pub arguments: Option<ArgumentList<'tree>>,
pub body: Option<ClassBody<'tree>>,
pub name: Identifier<'tree>,
pub children: Option<Modifiers<'tree>>,
}Fields§
§span: Span§arguments: Option<ArgumentList<'tree>>§body: Option<ClassBody<'tree>>§name: Identifier<'tree>§children: Option<Modifiers<'tree>>Trait Implementations§
Source§impl<'tree> Clone for EnumConstant<'tree>
impl<'tree> Clone for EnumConstant<'tree>
Source§fn clone(&self) -> EnumConstant<'tree>
fn clone(&self) -> EnumConstant<'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 EnumConstant<'tree>
impl<'tree> Debug for EnumConstant<'tree>
Source§impl<'tree> FromNode<'tree> for EnumConstant<'tree>
impl<'tree> FromNode<'tree> for EnumConstant<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for EnumConstant<'tree>
impl<'tree> RefUnwindSafe for EnumConstant<'tree>
impl<'tree> Send for EnumConstant<'tree>
impl<'tree> Sync for EnumConstant<'tree>
impl<'tree> Unpin for EnumConstant<'tree>
impl<'tree> UnsafeUnpin for EnumConstant<'tree>
impl<'tree> UnwindSafe for EnumConstant<'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