pub enum EnumVariantBody<'tree> {
FieldDeclarationList(Box<FieldDeclarationList<'tree>>),
OrderedFieldDeclarationList(Box<OrderedFieldDeclarationList<'tree>>),
}Variants§
FieldDeclarationList(Box<FieldDeclarationList<'tree>>)
OrderedFieldDeclarationList(Box<OrderedFieldDeclarationList<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for EnumVariantBody<'tree>
impl<'tree> Clone for EnumVariantBody<'tree>
Source§fn clone(&self) -> EnumVariantBody<'tree>
fn clone(&self) -> EnumVariantBody<'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 EnumVariantBody<'tree>
impl<'tree> Debug for EnumVariantBody<'tree>
Source§impl<'tree> FromNode<'tree> for EnumVariantBody<'tree>
impl<'tree> FromNode<'tree> for EnumVariantBody<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for EnumVariantBody<'tree>
impl<'tree> RefUnwindSafe for EnumVariantBody<'tree>
impl<'tree> Send for EnumVariantBody<'tree>
impl<'tree> Sync for EnumVariantBody<'tree>
impl<'tree> Unpin for EnumVariantBody<'tree>
impl<'tree> UnsafeUnpin for EnumVariantBody<'tree>
impl<'tree> UnwindSafe for EnumVariantBody<'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