pub enum EccMode {
Out,
In,
All,
}Expand description
Mode for direction-aware eccentricity / radius / diameter on directed
graphs. For undirected graphs every mode reduces to EccMode::All.
Counterpart of igraph_neimode_t in
references/igraph/include/igraph_constants.h.
Variants§
Out
Follow outgoing edges (IGRAPH_OUT). Default semantics for
upstream igraph_eccentricity / igraph_radius /
igraph_diameter and what the legacy eccentricity / radius
/ diameter APIs use.
In
Follow incoming edges (IGRAPH_IN).
All
Ignore direction — treat every edge as bidirectional
(IGRAPH_ALL).
Trait Implementations§
impl Copy for EccMode
impl Eq for EccMode
impl StructuralPartialEq for EccMode
Auto Trait Implementations§
impl Freeze for EccMode
impl RefUnwindSafe for EccMode
impl Send for EccMode
impl Sync for EccMode
impl Unpin for EccMode
impl UnsafeUnpin for EccMode
impl UnwindSafe for EccMode
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