pub struct SyntaxNodeRef { /* private fields */ }
Expand description
A reference to a syntax node in a graph
Implementations§
Trait Implementations§
Source§impl Clone for SyntaxNodeRef
impl Clone for SyntaxNodeRef
Source§fn clone(&self) -> SyntaxNodeRef
fn clone(&self) -> SyntaxNodeRef
Returns a duplicate 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 SyntaxNodeRef
impl Debug for SyntaxNodeRef
Source§impl Display for SyntaxNodeRef
impl Display for SyntaxNodeRef
Source§impl From<SyntaxNodeRef> for Value
impl From<SyntaxNodeRef> for Value
Source§fn from(value: SyntaxNodeRef) -> Value
fn from(value: SyntaxNodeRef) -> Value
Converts to this type from the input type.
Source§impl Hash for SyntaxNodeRef
impl Hash for SyntaxNodeRef
Source§impl<'tree> Index<SyntaxNodeRef> for Graph<'tree>
impl<'tree> Index<SyntaxNodeRef> for Graph<'tree>
Source§impl Ord for SyntaxNodeRef
impl Ord for SyntaxNodeRef
Source§fn cmp(&self, other: &SyntaxNodeRef) -> Ordering
fn cmp(&self, other: &SyntaxNodeRef) -> 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 SyntaxNodeRef
impl PartialEq for SyntaxNodeRef
Source§impl PartialOrd for SyntaxNodeRef
impl PartialOrd for SyntaxNodeRef
impl Copy for SyntaxNodeRef
impl Eq for SyntaxNodeRef
impl StructuralPartialEq for SyntaxNodeRef
Auto Trait Implementations§
impl Freeze for SyntaxNodeRef
impl RefUnwindSafe for SyntaxNodeRef
impl Send for SyntaxNodeRef
impl Sync for SyntaxNodeRef
impl Unpin for SyntaxNodeRef
impl UnwindSafe for SyntaxNodeRef
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