Enum EdgeKind Copy item path Source pub enum EdgeKind {
Contains,
Calls,
Implements,
Inherits,
Uses,
Imports,
Annotated,
Throws,
References,
}Expand description Directed relationship between two nodes.
Parent–child containment: File→Module, Module→Struct, Struct→Method.
Resolved call site: Function→Function or Method→Method.
impl Trait for Struct, class Foo implements Bar — Struct→Trait/Interface.
class Foo extends Bar, embedded struct in Go — subtype→supertype.
Distinct from Implements: this is “is-a” inheritance vs “can-do” interface
satisfaction.
A type appears as a parameter or return type: fn→Struct/Trait.
use path::to::Thing import.
A symbol is decorated/annotated by another (@Override, @dataclass,
#[derive(Debug)]).
Java throws ExceptionType — method→exception class.
A Markdown section (or file-level prose) mentions a code symbol, via
an inline code-span or link text matching a known identifier.
Source can be cross-language by design (docs reference any language).
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Deserialize this value from the given Serde deserializer.
Read more Formats the value using the given formatter.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.