pub struct CycleAnalysis {
pub has_cycles: bool,
pub cycles: Vec<Vec<String>>,
pub unprotected_cycles: Vec<Vec<String>>,
pub total_edges: usize,
pub protected_edges: usize,
}Expand description
环分析诊断结果。
Fields§
§has_cycles: bool§cycles: Vec<Vec<String>>§unprotected_cycles: Vec<Vec<String>>§total_edges: usize§protected_edges: usizeImplementations§
Source§impl CycleAnalysis
impl CycleAnalysis
Trait Implementations§
Source§impl Clone for CycleAnalysis
impl Clone for CycleAnalysis
Source§fn clone(&self) -> CycleAnalysis
fn clone(&self) -> CycleAnalysis
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 moreAuto Trait Implementations§
impl Freeze for CycleAnalysis
impl RefUnwindSafe for CycleAnalysis
impl Send for CycleAnalysis
impl Sync for CycleAnalysis
impl Unpin for CycleAnalysis
impl UnsafeUnpin for CycleAnalysis
impl UnwindSafe for CycleAnalysis
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