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: Expressionsink: Expressionlocation: LocationTrait 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
Converts to this type from the input type.
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
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more