pub enum RelationKind {
Contains,
Implements,
Extends,
FieldType,
Uses,
Imports,
Calls,
}Expand description
The kind of a directed edge between two symbols.
Variants§
Contains
from lexically contains to (module → item, type → method).
Implements
from implements trait to.
Extends
Trait from has supertrait to.
FieldType
from has a field whose type mentions to (composition / aggregation).
Uses
from’s signature mentions to (parameters, return, bounds).
Imports
Module from imports to.
Calls
Callable from calls to (aggregated from its Flow).
Implementations§
Trait Implementations§
Source§impl Clone for RelationKind
impl Clone for RelationKind
impl Copy for RelationKind
Source§impl Debug for RelationKind
impl Debug for RelationKind
Source§impl<'de> Deserialize<'de> for RelationKind
impl<'de> Deserialize<'de> for RelationKind
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 RelationKind
Source§impl Hash for RelationKind
impl Hash for RelationKind
Source§impl Ord for RelationKind
impl Ord for RelationKind
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 RelationKind
impl PartialEq for RelationKind
Source§impl PartialOrd for RelationKind
impl PartialOrd for RelationKind
Source§impl Serialize for RelationKind
impl Serialize for RelationKind
impl StructuralPartialEq for RelationKind
Auto Trait Implementations§
impl Freeze for RelationKind
impl RefUnwindSafe for RelationKind
impl Send for RelationKind
impl Sync for RelationKind
impl Unpin for RelationKind
impl UnsafeUnpin for RelationKind
impl UnwindSafe for RelationKind
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