pub struct GraphViolations {
pub dangling_sources: Vec<(String, String)>,
pub dangling_targets: Vec<(String, String)>,
pub duplicate_node_ids: Vec<String>,
}Expand description
Graph coherence violations found by verify_graph().
Fields§
§dangling_sources: Vec<(String, String)>Edges whose source_id has no corresponding CodeNode.
dangling_targets: Vec<(String, String)>Edges whose target_id has no corresponding CodeNode (excluding ext: refs).
duplicate_node_ids: Vec<String>Duplicate CodeNode IDs.
Implementations§
Trait Implementations§
Source§impl Debug for GraphViolations
impl Debug for GraphViolations
Source§impl Default for GraphViolations
impl Default for GraphViolations
Source§fn default() -> GraphViolations
fn default() -> GraphViolations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphViolations
impl RefUnwindSafe for GraphViolations
impl Send for GraphViolations
impl Sync for GraphViolations
impl Unpin for GraphViolations
impl UnsafeUnpin for GraphViolations
impl UnwindSafe for GraphViolations
Blanket Implementations§
impl<T> Allocation for T
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