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