Struct tree_sitter_graph::graph::GraphNodeRef
source · pub struct GraphNodeRef(_);Expand description
A reference to a graph node
Implementations§
Trait Implementations§
source§impl Clone for GraphNodeRef
impl Clone for GraphNodeRef
source§fn clone(&self) -> GraphNodeRef
fn clone(&self) -> GraphNodeRef
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 GraphNodeRef
impl Debug for GraphNodeRef
source§impl Display for GraphNodeRef
impl Display for GraphNodeRef
source§impl From<GraphNodeRef> for Value
impl From<GraphNodeRef> for Value
source§fn from(value: GraphNodeRef) -> Value
fn from(value: GraphNodeRef) -> Value
Converts to this type from the input type.
source§impl Hash for GraphNodeRef
impl Hash for GraphNodeRef
source§impl Index<GraphNodeRef> for Graph<'_>
impl Index<GraphNodeRef> for Graph<'_>
source§impl<'tree> IndexMut<GraphNodeRef> for Graph<'_>
impl<'tree> IndexMut<GraphNodeRef> for Graph<'_>
source§impl Ord for GraphNodeRef
impl Ord for GraphNodeRef
source§fn cmp(&self, other: &GraphNodeRef) -> Ordering
fn cmp(&self, other: &GraphNodeRef) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<GraphNodeRef> for GraphNodeRef
impl PartialEq<GraphNodeRef> for GraphNodeRef
source§fn eq(&self, other: &GraphNodeRef) -> bool
fn eq(&self, other: &GraphNodeRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<GraphNodeRef> for GraphNodeRef
impl PartialOrd<GraphNodeRef> for GraphNodeRef
source§fn partial_cmp(&self, other: &GraphNodeRef) -> Option<Ordering>
fn partial_cmp(&self, other: &GraphNodeRef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more