pub struct DegreeCentralityResult {
pub in_degree: FxHashMap<NodeId, usize>,
pub out_degree: FxHashMap<NodeId, usize>,
pub total_degree: FxHashMap<NodeId, usize>,
}Expand description
Result of degree centrality computation.
Fields§
§in_degree: FxHashMap<NodeId, usize>In-degree for each node.
out_degree: FxHashMap<NodeId, usize>Out-degree for each node.
total_degree: FxHashMap<NodeId, usize>Total degree (in + out) for each node.
Trait Implementations§
Source§impl Clone for DegreeCentralityResult
impl Clone for DegreeCentralityResult
Source§fn clone(&self) -> DegreeCentralityResult
fn clone(&self) -> DegreeCentralityResult
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 DegreeCentralityResult
impl RefUnwindSafe for DegreeCentralityResult
impl Send for DegreeCentralityResult
impl Sync for DegreeCentralityResult
impl Unpin for DegreeCentralityResult
impl UnwindSafe for DegreeCentralityResult
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