pub enum DefinitionBodyElement {
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
OccurrenceMember(Node<OccurrenceBodyElement>),
Other(String),
}Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
OccurrenceMember(Node<OccurrenceBodyElement>)
Other(String)
Trait Implementations§
Source§impl Clone for DefinitionBodyElement
impl Clone for DefinitionBodyElement
Source§fn clone(&self) -> DefinitionBodyElement
fn clone(&self) -> DefinitionBodyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefinitionBodyElement
impl Debug for DefinitionBodyElement
impl Eq for DefinitionBodyElement
Source§impl PartialEq for DefinitionBodyElement
impl PartialEq for DefinitionBodyElement
Source§fn eq(&self, other: &DefinitionBodyElement) -> bool
fn eq(&self, other: &DefinitionBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DefinitionBodyElement
Auto Trait Implementations§
impl Freeze for DefinitionBodyElement
impl RefUnwindSafe for DefinitionBodyElement
impl Send for DefinitionBodyElement
impl Sync for DefinitionBodyElement
impl Unpin for DefinitionBodyElement
impl UnsafeUnpin for DefinitionBodyElement
impl UnwindSafe for DefinitionBodyElement
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