pub enum SemanticEdgeKind {
RefersTo,
Calls,
TypeRef,
}Expand description
The relationship represented by a resolved source occurrence.
Variants§
RefersTo
A non-call value reference.
Calls
A function or method call.
TypeRef
A type-position reference.
Trait Implementations§
Source§impl Clone for SemanticEdgeKind
impl Clone for SemanticEdgeKind
Source§fn clone(&self) -> SemanticEdgeKind
fn clone(&self) -> SemanticEdgeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticEdgeKind
Source§impl Debug for SemanticEdgeKind
impl Debug for SemanticEdgeKind
Source§impl<'de> Deserialize<'de> for SemanticEdgeKind
impl<'de> Deserialize<'de> for SemanticEdgeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticEdgeKind
Source§impl Hash for SemanticEdgeKind
impl Hash for SemanticEdgeKind
Source§impl Ord for SemanticEdgeKind
impl Ord for SemanticEdgeKind
Source§fn cmp(&self, other: &SemanticEdgeKind) -> Ordering
fn cmp(&self, other: &SemanticEdgeKind) -> Ordering
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
Source§impl PartialEq for SemanticEdgeKind
impl PartialEq for SemanticEdgeKind
Source§impl PartialOrd for SemanticEdgeKind
impl PartialOrd for SemanticEdgeKind
Source§impl Serialize for SemanticEdgeKind
impl Serialize for SemanticEdgeKind
impl StructuralPartialEq for SemanticEdgeKind
Auto Trait Implementations§
impl Freeze for SemanticEdgeKind
impl RefUnwindSafe for SemanticEdgeKind
impl Send for SemanticEdgeKind
impl Sync for SemanticEdgeKind
impl Unpin for SemanticEdgeKind
impl UnsafeUnpin for SemanticEdgeKind
impl UnwindSafe for SemanticEdgeKind
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