pub enum EdgeKind {
Contains,
Calls,
Implements,
Inherits,
Uses,
Imports,
Annotated,
Throws,
}Expand description
Directed relationship between two nodes.
Variants§
Contains
Parent–child containment: File→Module, Module→Struct, Struct→Method.
Calls
Resolved call site: Function→Function or Method→Method.
Implements
impl Trait for Struct, class Foo implements Bar — Struct→Trait/Interface.
Inherits
class Foo extends Bar, embedded struct in Go — subtype→supertype.
Distinct from Implements: this is “is-a” inheritance vs “can-do” interface
satisfaction.
Uses
A type appears as a parameter or return type: fn→Struct/Trait.
Imports
use path::to::Thing import.
Annotated
A symbol is decorated/annotated by another (@Override, @dataclass,
#[derive(Debug)]).
Throws
Java throws ExceptionType — method→exception class.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeKind
impl<'de> Deserialize<'de> for EdgeKind
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 EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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