pub enum MultipartiteMode {
All,
Out,
In,
}Expand description
Direction policy for full_multipartite.
Mirrors igraph_neimode_t in the C reference, restricted to the
three settings the upstream igraph_full_multipartite handles.
Variants§
All
Emit both arcs per pair (mutual). The only legal choice for
undirected graphs; for directed graphs the result has exactly
2 · E_undirected arcs.
Out
Directed: arcs flow from the earlier-indexed partition to the later-indexed partition. Ignored for undirected graphs.
In
Directed: arcs flow from the later-indexed partition back to the earlier-indexed partition. Ignored for undirected graphs.
Trait Implementations§
Source§impl Clone for MultipartiteMode
impl Clone for MultipartiteMode
Source§fn clone(&self) -> MultipartiteMode
fn clone(&self) -> MultipartiteMode
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 MultipartiteMode
impl Debug for MultipartiteMode
Source§impl Hash for MultipartiteMode
impl Hash for MultipartiteMode
Source§impl PartialEq for MultipartiteMode
impl PartialEq for MultipartiteMode
impl Copy for MultipartiteMode
impl Eq for MultipartiteMode
impl StructuralPartialEq for MultipartiteMode
Auto Trait Implementations§
impl Freeze for MultipartiteMode
impl RefUnwindSafe for MultipartiteMode
impl Send for MultipartiteMode
impl Sync for MultipartiteMode
impl Unpin for MultipartiteMode
impl UnsafeUnpin for MultipartiteMode
impl UnwindSafe for MultipartiteMode
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