pub enum GraphEdgeKind {
Call,
Import,
Implementation,
Reference,
DependsOn,
}Expand description
What relation an edge states.
Variants§
Call
The source calls the target.
Import
The source imports the target.
Implementation
The source implements the target.
Reference
Any other source relation between the two.
DependsOn
The source’s build unit depends on the target’s build unit.
Trait Implementations§
Source§impl Clone for GraphEdgeKind
impl Clone for GraphEdgeKind
Source§fn clone(&self) -> GraphEdgeKind
fn clone(&self) -> GraphEdgeKind
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 GraphEdgeKind
Source§impl Debug for GraphEdgeKind
impl Debug for GraphEdgeKind
impl Eq for GraphEdgeKind
Source§impl Hash for GraphEdgeKind
impl Hash for GraphEdgeKind
Source§impl Ord for GraphEdgeKind
impl Ord for GraphEdgeKind
Source§fn cmp(&self, other: &GraphEdgeKind) -> Ordering
fn cmp(&self, other: &GraphEdgeKind) -> 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 GraphEdgeKind
impl PartialEq for GraphEdgeKind
Source§impl PartialOrd for GraphEdgeKind
impl PartialOrd for GraphEdgeKind
Source§impl Serialize for GraphEdgeKind
impl Serialize for GraphEdgeKind
impl StructuralPartialEq for GraphEdgeKind
Auto Trait Implementations§
impl Freeze for GraphEdgeKind
impl RefUnwindSafe for GraphEdgeKind
impl Send for GraphEdgeKind
impl Sync for GraphEdgeKind
impl Unpin for GraphEdgeKind
impl UnsafeUnpin for GraphEdgeKind
impl UnwindSafe for GraphEdgeKind
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