Struct valkyrie_ast::AnnotationNode
source · pub struct AnnotationNode {
pub documents: DocumentationList,
pub attributes: AttributeList,
pub modifiers: ModifierList,
}Expand description
#module∷name.variant(args) { ... } modifiers
The annotations of the statements
Fields§
§documents: DocumentationListThe documentations of the statement
attributes: AttributeListThe attributes of the statement
modifiers: ModifierListThe modifiers of the statement
Implementations§
Trait Implementations§
source§impl Clone for AnnotationNode
impl Clone for AnnotationNode
source§fn clone(&self) -> AnnotationNode
fn clone(&self) -> AnnotationNode
Returns a copy 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 Debug for AnnotationNode
impl Debug for AnnotationNode
source§impl Default for AnnotationNode
impl Default for AnnotationNode
source§impl From<AttributeList> for AnnotationNode
impl From<AttributeList> for AnnotationNode
source§fn from(value: AttributeList) -> Self
fn from(value: AttributeList) -> Self
Converts to this type from the input type.
source§impl Hash for AnnotationNode
impl Hash for AnnotationNode
source§impl PartialEq for AnnotationNode
impl PartialEq for AnnotationNode
source§fn eq(&self, other: &AnnotationNode) -> bool
fn eq(&self, other: &AnnotationNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AnnotationNode
impl StructuralPartialEq for AnnotationNode
Auto Trait Implementations§
impl RefUnwindSafe for AnnotationNode
impl Send for AnnotationNode
impl Sync for AnnotationNode
impl Unpin for AnnotationNode
impl UnwindSafe for AnnotationNode
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