pub enum MstAlgorithm {
Automatic,
Unweighted,
Prim,
Kruskal,
}Expand description
Minimum spanning tree algorithm (igraph_mst_algorithm_t).
Variants§
Automatic
Let igraph choose.
Unweighted
Unweighted (BFS based).
Prim
Prim’s algorithm.
Kruskal
Kruskal’s algorithm.
Trait Implementations§
Source§impl Clone for MstAlgorithm
impl Clone for MstAlgorithm
Source§fn clone(&self) -> MstAlgorithm
fn clone(&self) -> MstAlgorithm
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 MstAlgorithm
Source§impl Debug for MstAlgorithm
impl Debug for MstAlgorithm
impl Eq for MstAlgorithm
Source§impl From<MstAlgorithm> for igraph_mst_algorithm_t
impl From<MstAlgorithm> for igraph_mst_algorithm_t
Source§fn from(value: MstAlgorithm) -> igraph_mst_algorithm_t
fn from(value: MstAlgorithm) -> igraph_mst_algorithm_t
Converts to this type from the input type.
Source§impl Hash for MstAlgorithm
impl Hash for MstAlgorithm
Source§impl PartialEq for MstAlgorithm
impl PartialEq for MstAlgorithm
Source§fn eq(&self, other: &MstAlgorithm) -> bool
fn eq(&self, other: &MstAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MstAlgorithm
Auto Trait Implementations§
impl Freeze for MstAlgorithm
impl RefUnwindSafe for MstAlgorithm
impl Send for MstAlgorithm
impl Sync for MstAlgorithm
impl Unpin for MstAlgorithm
impl UnsafeUnpin for MstAlgorithm
impl UnwindSafe for MstAlgorithm
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