pub enum StrengthMode {
Out,
In,
All,
}Expand description
Direction mode for strength_with_mode on directed graphs.
Ignored on undirected graphs.
Counterpart of igraph_neimode_t (include/igraph_constants.h).
Variants§
Out
Sum weights of outgoing edges (IGRAPH_OUT).
In
Sum weights of incoming edges (IGRAPH_IN).
All
Sum weights of all incident edges (IGRAPH_ALL).
Trait Implementations§
Source§impl Clone for StrengthMode
impl Clone for StrengthMode
Source§fn clone(&self) -> StrengthMode
fn clone(&self) -> StrengthMode
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 moreSource§impl Debug for StrengthMode
impl Debug for StrengthMode
Source§impl PartialEq for StrengthMode
impl PartialEq for StrengthMode
impl Copy for StrengthMode
impl Eq for StrengthMode
impl StructuralPartialEq for StrengthMode
Auto Trait Implementations§
impl Freeze for StrengthMode
impl RefUnwindSafe for StrengthMode
impl Send for StrengthMode
impl Sync for StrengthMode
impl Unpin for StrengthMode
impl UnsafeUnpin for StrengthMode
impl UnwindSafe for StrengthMode
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