pub enum GraphEdgeOrigin {
Reference {
reference: GraphReferenceId,
},
Dependency {
evidence: DependencyEvidence,
},
}Expand description
Why an edge exists. No edge exists without one of these.
Variants§
Reference
One candidate of one reference record produced the edge.
Fields
§
reference: GraphReferenceIdThe record that produced it, for the reverse evidence link.
Dependency
One declared build-unit dependency produced the edge.
Fields
§
evidence: DependencyEvidenceWhat the declaration stated.
Trait Implementations§
Source§impl Clone for GraphEdgeOrigin
impl Clone for GraphEdgeOrigin
Source§impl Debug for GraphEdgeOrigin
impl Debug for GraphEdgeOrigin
impl Eq for GraphEdgeOrigin
Source§impl PartialEq for GraphEdgeOrigin
impl PartialEq for GraphEdgeOrigin
Source§impl Serialize for GraphEdgeOrigin
impl Serialize for GraphEdgeOrigin
impl StructuralPartialEq for GraphEdgeOrigin
Auto Trait Implementations§
impl Freeze for GraphEdgeOrigin
impl RefUnwindSafe for GraphEdgeOrigin
impl Send for GraphEdgeOrigin
impl Sync for GraphEdgeOrigin
impl Unpin for GraphEdgeOrigin
impl UnsafeUnpin for GraphEdgeOrigin
impl UnwindSafe for GraphEdgeOrigin
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