pub struct GraphStats {
pub file_count: usize,
pub function_count: usize,
pub class_count: usize,
pub external_module_count: usize,
pub import_edge_count: usize,
pub contains_edge_count: usize,
pub uses_library_edge_count: usize,
pub calls_edge_count: usize,
pub total_nodes: usize,
pub total_edges: usize,
}Expand description
Statistics about the code graph
Fields§
§file_count: usize§function_count: usize§class_count: usize§external_module_count: usize§import_edge_count: usize§contains_edge_count: usize§uses_library_edge_count: usize§calls_edge_count: usizeNumber of function-to-function call edges
total_nodes: usize§total_edges: usizeTrait Implementations§
Source§impl Clone for GraphStats
impl Clone for GraphStats
Source§fn clone(&self) -> GraphStats
fn clone(&self) -> GraphStats
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 GraphStats
impl Debug for GraphStats
Source§impl<'de> Deserialize<'de> for GraphStats
impl<'de> Deserialize<'de> for GraphStats
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 GraphStats
impl RefUnwindSafe for GraphStats
impl Send for GraphStats
impl Sync for GraphStats
impl Unpin for GraphStats
impl UnsafeUnpin for GraphStats
impl UnwindSafe for GraphStats
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