pub enum StructItemBody<'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 StructItemBody<'tree>
impl<'tree> Clone for StructItemBody<'tree>
Source§fn clone(&self) -> StructItemBody<'tree>
fn clone(&self) -> StructItemBody<'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 StructItemBody<'tree>
impl<'tree> Debug for StructItemBody<'tree>
Source§impl<'tree> FromNode<'tree> for StructItemBody<'tree>
impl<'tree> FromNode<'tree> for StructItemBody<'tree>
Source§impl<'tree> PartialEq for StructItemBody<'tree>
impl<'tree> PartialEq for StructItemBody<'tree>
Source§impl Spanned for StructItemBody<'_>
impl Spanned for StructItemBody<'_>
impl<'tree> Eq for StructItemBody<'tree>
impl<'tree> StructuralPartialEq for StructItemBody<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for StructItemBody<'tree>
impl<'tree> RefUnwindSafe for StructItemBody<'tree>
impl<'tree> Send for StructItemBody<'tree>
impl<'tree> Sync for StructItemBody<'tree>
impl<'tree> Unpin for StructItemBody<'tree>
impl<'tree> UnsafeUnpin for StructItemBody<'tree>
impl<'tree> UnwindSafe for StructItemBody<'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