pub struct DependencyCycle {
pub nodes: Vec<String>,
pub edges: Vec<(String, String)>,
pub severity: f64,
}Expand description
A dependency cycle detected in the graph.
Fields§
§nodes: Vec<String>§edges: Vec<(String, String)>§severity: f64Shorter cycles are more severe (1.0 / len).
Trait Implementations§
Source§impl Clone for DependencyCycle
impl Clone for DependencyCycle
Source§fn clone(&self) -> DependencyCycle
fn clone(&self) -> DependencyCycle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyCycle
impl Debug for DependencyCycle
Source§impl<'de> Deserialize<'de> for DependencyCycle
impl<'de> Deserialize<'de> for DependencyCycle
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
Auto Trait Implementations§
impl Freeze for DependencyCycle
impl RefUnwindSafe for DependencyCycle
impl Send for DependencyCycle
impl Sync for DependencyCycle
impl Unpin for DependencyCycle
impl UnsafeUnpin for DependencyCycle
impl UnwindSafe for DependencyCycle
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