pub struct RewiringStats {
pub successful_swaps: usize,
}Expand description
Statistics of a Graph::rewire run (igraph_rewiring_stats_t).
Fields§
§successful_swaps: usizeNumber of rewiring trials that actually switched a pair of edges.
Trait Implementations§
Source§impl Clone for RewiringStats
impl Clone for RewiringStats
Source§fn clone(&self) -> RewiringStats
fn clone(&self) -> RewiringStats
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 RewiringStats
Source§impl Debug for RewiringStats
impl Debug for RewiringStats
Source§impl Default for RewiringStats
impl Default for RewiringStats
Source§fn default() -> RewiringStats
fn default() -> RewiringStats
Returns the “default value” for a type. Read more
impl Eq for RewiringStats
Source§impl PartialEq for RewiringStats
impl PartialEq for RewiringStats
Source§fn eq(&self, other: &RewiringStats) -> bool
fn eq(&self, other: &RewiringStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RewiringStats
Auto Trait Implementations§
impl Freeze for RewiringStats
impl RefUnwindSafe for RewiringStats
impl Send for RewiringStats
impl Sync for RewiringStats
impl Unpin for RewiringStats
impl UnsafeUnpin for RewiringStats
impl UnwindSafe for RewiringStats
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