pub struct NetworkStats {
pub total_nodes: usize,
pub total_edges: usize,
pub cluster_count: usize,
pub avg_degree: f64,
pub max_degree: usize,
pub density: f64,
pub isolated_nodes: usize,
}Fields§
§total_nodes: usize§total_edges: usize§cluster_count: usize§avg_degree: f64§max_degree: usize§density: f64§isolated_nodes: usizeTrait Implementations§
Source§impl Clone for NetworkStats
impl Clone for NetworkStats
Source§fn clone(&self) -> NetworkStats
fn clone(&self) -> NetworkStats
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 NetworkStats
impl Debug for NetworkStats
Auto Trait Implementations§
impl Freeze for NetworkStats
impl RefUnwindSafe for NetworkStats
impl Send for NetworkStats
impl Sync for NetworkStats
impl Unpin for NetworkStats
impl UnsafeUnpin for NetworkStats
impl UnwindSafe for NetworkStats
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