pub enum CentralizationMode {
In,
Out,
All,
}Expand description
Whether centralization considers in-degree, out-degree, or total.
Variants§
In
In-degree centralization (directed graphs).
Out
Out-degree centralization (directed graphs).
All
Total degree centralization.
Trait Implementations§
Source§impl Clone for CentralizationMode
impl Clone for CentralizationMode
Source§fn clone(&self) -> CentralizationMode
fn clone(&self) -> CentralizationMode
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 CentralizationMode
Source§impl Debug for CentralizationMode
impl Debug for CentralizationMode
impl Eq for CentralizationMode
Source§impl PartialEq for CentralizationMode
impl PartialEq for CentralizationMode
Source§fn eq(&self, other: &CentralizationMode) -> bool
fn eq(&self, other: &CentralizationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CentralizationMode
Auto Trait Implementations§
impl Freeze for CentralizationMode
impl RefUnwindSafe for CentralizationMode
impl Send for CentralizationMode
impl Sync for CentralizationMode
impl Unpin for CentralizationMode
impl UnsafeUnpin for CentralizationMode
impl UnwindSafe for CentralizationMode
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