Struct tree_sitter_graph::ast::CreateEdge
source · [−]pub struct CreateEdge {
pub source: Expression,
pub sink: Expression,
pub location: Location,
}
Expand description
An edge
statement that creates a new edge
Fields
source: Expression
sink: Expression
location: Location
Trait Implementations
sourceimpl Debug for CreateEdge
impl Debug for CreateEdge
sourceimpl Display for CreateEdge
impl Display for CreateEdge
sourceimpl From<CreateEdge> for Statement
impl From<CreateEdge> for Statement
sourcefn from(statement: CreateEdge) -> Statement
fn from(statement: CreateEdge) -> Statement
Performs the conversion.
sourceimpl PartialEq<CreateEdge> for CreateEdge
impl PartialEq<CreateEdge> for CreateEdge
sourcefn eq(&self, other: &CreateEdge) -> bool
fn eq(&self, other: &CreateEdge) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateEdge) -> bool
fn ne(&self, other: &CreateEdge) -> bool
This method tests for !=
.
impl Eq for CreateEdge
impl StructuralEq for CreateEdge
impl StructuralPartialEq for CreateEdge
Auto Trait Implementations
impl RefUnwindSafe for CreateEdge
impl !Send for CreateEdge
impl !Sync for CreateEdge
impl Unpin for CreateEdge
impl UnwindSafe for CreateEdge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more