pub enum AttributeBodyElement {
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
AttributeDef(Node<AttributeDef>),
AttributeUsage(Node<AttributeUsage>),
Other(String),
}Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
AttributeDef(Node<AttributeDef>)
AttributeUsage(Node<AttributeUsage>)
Other(String)
Trait Implementations§
Source§impl Clone for AttributeBodyElement
impl Clone for AttributeBodyElement
Source§fn clone(&self) -> AttributeBodyElement
fn clone(&self) -> AttributeBodyElement
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 AttributeBodyElement
impl Debug for AttributeBodyElement
impl Eq for AttributeBodyElement
Source§impl PartialEq for AttributeBodyElement
impl PartialEq for AttributeBodyElement
Source§fn eq(&self, other: &AttributeBodyElement) -> bool
fn eq(&self, other: &AttributeBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeBodyElement
Auto Trait Implementations§
impl Freeze for AttributeBodyElement
impl RefUnwindSafe for AttributeBodyElement
impl Send for AttributeBodyElement
impl Sync for AttributeBodyElement
impl Unpin for AttributeBodyElement
impl UnsafeUnpin for AttributeBodyElement
impl UnwindSafe for AttributeBodyElement
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