Struct tree_sitter_graph::graph::GraphNodeRef
source · pub struct GraphNodeRef(/* private fields */);
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 for GraphNodeRef
impl PartialEq 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 for GraphNodeRef
impl PartialOrd 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 moreimpl Copy for GraphNodeRef
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more