pub struct DependencyStats {
pub simple_types: usize,
pub complex_types: usize,
pub dependencies: usize,
pub root_types: usize,
pub max_depth: usize,
}Expand description
Statistics from building the dependency graph
Fields§
§simple_types: usizeNumber of simple types in the graph
complex_types: usizeNumber of complex types in the graph
dependencies: usizeNumber of dependency edges
root_types: usizeNumber of types with no dependencies (root types)
max_depth: usizeMaximum depth of the dependency tree
Trait Implementations§
Source§impl Debug for DependencyStats
impl Debug for DependencyStats
Source§impl Default for DependencyStats
impl Default for DependencyStats
Source§fn default() -> DependencyStats
fn default() -> DependencyStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DependencyStats
impl RefUnwindSafe for DependencyStats
impl Send for DependencyStats
impl Sync for DependencyStats
impl Unpin for DependencyStats
impl UnsafeUnpin for DependencyStats
impl UnwindSafe for DependencyStats
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