pub struct GraphStats {
pub node_count: usize,
pub edge_count: usize,
pub avg_in_degree: f64,
pub avg_out_degree: f64,
pub max_in_degree: usize,
pub max_out_degree: usize,
pub density: f64,
}Expand description
Graph statistics for analysis
Fields§
§node_count: usize§edge_count: usize§avg_in_degree: f64§avg_out_degree: f64§max_in_degree: usize§max_out_degree: usize§density: f64Trait 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 moreAuto Trait Implementations§
impl Freeze for GraphStats
impl RefUnwindSafe for GraphStats
impl Send for GraphStats
impl Sync for GraphStats
impl Unpin 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