pub struct RandomGraphStats {
pub diameter: f64,
pub mean_degree: f64,
}Expand description
Fields§
§diameter: f64Length of the longest geodesic, considering every connected component
(the C program passes unconn = true).
mean_degree: f64Average degree of the vertices, 2m / n (self-loops counted, as with
IGRAPH_LOOPS in C).
Trait Implementations§
Source§impl Clone for RandomGraphStats
impl Clone for RandomGraphStats
Source§fn clone(&self) -> RandomGraphStats
fn clone(&self) -> RandomGraphStats
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 moreimpl Copy for RandomGraphStats
Source§impl Debug for RandomGraphStats
impl Debug for RandomGraphStats
Source§impl Display for RandomGraphStats
impl Display for RandomGraphStats
Source§impl PartialEq for RandomGraphStats
impl PartialEq for RandomGraphStats
Source§fn eq(&self, other: &RandomGraphStats) -> bool
fn eq(&self, other: &RandomGraphStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RandomGraphStats
Auto Trait Implementations§
impl Freeze for RandomGraphStats
impl RefUnwindSafe for RandomGraphStats
impl Send for RandomGraphStats
impl Sync for RandomGraphStats
impl Unpin for RandomGraphStats
impl UnsafeUnpin for RandomGraphStats
impl UnwindSafe for RandomGraphStats
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