pub struct CommunityResult {
pub communities: Vec<Community>,
pub modularity: f64,
pub iterations: usize,
pub node_count: usize,
pub edge_count: usize,
}Fields§
§communities: Vec<Community>§modularity: f64§iterations: usize§node_count: usize§edge_count: usizeImplementations§
Source§impl CommunityResult
impl CommunityResult
pub fn to_terse(&self, top_n: usize) -> TerseCommunityResult
Trait Implementations§
Source§impl Clone for CommunityResult
impl Clone for CommunityResult
Source§fn clone(&self) -> CommunityResult
fn clone(&self) -> CommunityResult
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 moreSource§impl Debug for CommunityResult
impl Debug for CommunityResult
Source§impl<'de> Deserialize<'de> for CommunityResult
impl<'de> Deserialize<'de> for CommunityResult
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 CommunityResult
impl RefUnwindSafe for CommunityResult
impl Send for CommunityResult
impl Sync for CommunityResult
impl Unpin for CommunityResult
impl UnsafeUnpin for CommunityResult
impl UnwindSafe for CommunityResult
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