pub enum GraphReferenceKind {
Call,
Import,
Implementation,
Reference,
}Expand description
What a naming site denotes at the graph layer.
A language’s finer reference vocabulary collapses into these four: a module declaration and a type mention are both general source relations here.
Variants§
Call
A call site.
Import
An import site, including a rename, a group member, or a re-export.
Implementation
An implementation naming its type or its trait.
Reference
Any other source relation between a site and a definition.
Trait Implementations§
Source§impl Clone for GraphReferenceKind
impl Clone for GraphReferenceKind
impl Copy for GraphReferenceKind
Source§impl Debug for GraphReferenceKind
impl Debug for GraphReferenceKind
impl Eq for GraphReferenceKind
Source§impl Hash for GraphReferenceKind
impl Hash for GraphReferenceKind
Source§impl Ord for GraphReferenceKind
impl Ord for GraphReferenceKind
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GraphReferenceKind
impl PartialEq for GraphReferenceKind
Source§impl PartialOrd for GraphReferenceKind
impl PartialOrd for GraphReferenceKind
Source§impl Serialize for GraphReferenceKind
impl Serialize for GraphReferenceKind
impl StructuralPartialEq for GraphReferenceKind
Auto Trait Implementations§
impl Freeze for GraphReferenceKind
impl RefUnwindSafe for GraphReferenceKind
impl Send for GraphReferenceKind
impl Sync for GraphReferenceKind
impl Unpin for GraphReferenceKind
impl UnsafeUnpin for GraphReferenceKind
impl UnwindSafe for GraphReferenceKind
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