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: Expressionsink: Expressionattributes: Vec<Attribute>location: LocationTrait Implementations
sourceimpl Debug for AddEdgeAttribute
impl Debug for AddEdgeAttribute
sourceimpl Display for AddEdgeAttribute
impl Display for AddEdgeAttribute
sourceimpl From<AddEdgeAttribute> for Statement
impl From<AddEdgeAttribute> for Statement
sourcefn from(statement: AddEdgeAttribute) -> Statement
fn from(statement: AddEdgeAttribute) -> Statement
Converts to this type from the input type.
sourceimpl PartialEq<AddEdgeAttribute> for AddEdgeAttribute
impl PartialEq<AddEdgeAttribute> for AddEdgeAttribute
sourcefn 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 ==. Read more
impl Eq for AddEdgeAttribute
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more