Struct tree_sitter_graph::graph::GraphNodeRef
source · [−]pub struct GraphNodeRef(_);Expand description
A reference to a graph node
Implementations
sourceimpl GraphNodeRef
impl GraphNodeRef
Trait Implementations
sourceimpl Clone for GraphNodeRef
impl Clone for GraphNodeRef
sourcefn clone(&self) -> GraphNodeRef
fn clone(&self) -> GraphNodeRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GraphNodeRef
impl Debug for GraphNodeRef
sourceimpl Display for GraphNodeRef
impl Display for GraphNodeRef
sourceimpl From<GraphNodeRef> for Value
impl From<GraphNodeRef> for Value
sourcefn from(value: GraphNodeRef) -> Value
fn from(value: GraphNodeRef) -> Value
Converts to this type from the input type.
sourceimpl Hash for GraphNodeRef
impl Hash for GraphNodeRef
sourceimpl Index<GraphNodeRef> for Graph<'_>
impl Index<GraphNodeRef> for Graph<'_>
sourceimpl<'tree> IndexMut<GraphNodeRef> for Graph<'_>
impl<'tree> IndexMut<GraphNodeRef> for Graph<'_>
sourcefn index_mut(&mut self, index: GraphNodeRef) -> &mut GraphNode
fn index_mut(&mut self, index: GraphNodeRef) -> &mut GraphNode
Performs the mutable indexing (container[index]) operation. Read more
sourceimpl Ord for GraphNodeRef
impl Ord for GraphNodeRef
sourcefn cmp(&self, other: &GraphNodeRef) -> Ordering
fn cmp(&self, other: &GraphNodeRef) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<GraphNodeRef> for GraphNodeRef
impl PartialEq<GraphNodeRef> for GraphNodeRef
sourcefn 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 ==. Read more
sourceimpl PartialOrd<GraphNodeRef> for GraphNodeRef
impl PartialOrd<GraphNodeRef> for GraphNodeRef
sourcefn partial_cmp(&self, other: &GraphNodeRef) -> Option<Ordering>
fn partial_cmp(&self, other: &GraphNodeRef) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Copy for GraphNodeRef
impl Eq for GraphNodeRef
impl StructuralEq for GraphNodeRef
impl StructuralPartialEq for GraphNodeRef
Auto Trait Implementations
impl RefUnwindSafe for GraphNodeRef
impl Send for GraphNodeRef
impl Sync for GraphNodeRef
impl Unpin for GraphNodeRef
impl UnwindSafe for GraphNodeRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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