pub struct KCoreResult {
pub core_numbers: FxHashMap<NodeId, usize>,
pub max_core: usize,
}Expand description
Result of k-core decomposition.
Fields§
§core_numbers: FxHashMap<NodeId, usize>Core number for each node.
max_core: usizeMaximum core number (degeneracy).
Implementations§
Trait Implementations§
Source§impl Clone for KCoreResult
impl Clone for KCoreResult
Source§fn clone(&self) -> KCoreResult
fn clone(&self) -> KCoreResult
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 KCoreResult
impl RefUnwindSafe for KCoreResult
impl Send for KCoreResult
impl Sync for KCoreResult
impl Unpin for KCoreResult
impl UnwindSafe for KCoreResult
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