Struct tree_sitter_graph::ast::AddEdgeAttribute
source · pub struct AddEdgeAttribute {
pub source: Expression,
pub sink: Expression,
pub attributes: Vec<Attribute>,
pub location: Location,
}
Expand description
An attr
statement that adds an attribute to an edge
Fields§
§source: Expression
§sink: Expression
§attributes: Vec<Attribute>
§location: Location
Trait Implementations§
source§impl Debug for AddEdgeAttribute
impl Debug for AddEdgeAttribute
source§impl Display for AddEdgeAttribute
impl Display for AddEdgeAttribute
source§impl From<AddEdgeAttribute> for Statement
impl From<AddEdgeAttribute> for Statement
source§fn from(statement: AddEdgeAttribute) -> Statement
fn from(statement: AddEdgeAttribute) -> Statement
Converts to this type from the input type.
source§impl PartialEq for AddEdgeAttribute
impl PartialEq for AddEdgeAttribute
source§fn eq(&self, other: &AddEdgeAttribute) -> bool
fn eq(&self, other: &AddEdgeAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AddEdgeAttribute
impl StructuralPartialEq for AddEdgeAttribute
Auto Trait Implementations§
impl RefUnwindSafe for AddEdgeAttribute
impl Send for AddEdgeAttribute
impl Sync for AddEdgeAttribute
impl Unpin for AddEdgeAttribute
impl UnwindSafe for AddEdgeAttribute
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