pub struct EnumDeclaration<'tree> {
pub span: Span,
pub attributes: Option<AttributeList<'tree>>,
pub body: EnumDeclarationList<'tree>,
pub name: Name<'tree>,
pub children: Vec<EnumDeclarationChildren<'tree>>,
}Fields§
§span: Span§attributes: Option<AttributeList<'tree>>§body: EnumDeclarationList<'tree>§name: Name<'tree>§children: Vec<EnumDeclarationChildren<'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