pub enum StarMode {
Out,
In,
Mutual,
Undirected,
}Expand description
Direction policy for star_graph.
Mirrors igraph_star_mode_t in the C reference.
Variants§
Out
Directed star, arcs flow from the centre to each leaf.
In
Directed star, arcs flow from each leaf to the centre.
Mutual
Directed star with both arcs per leaf.
Undirected
Undirected star.
Trait Implementations§
impl Copy for StarMode
impl Eq for StarMode
impl StructuralPartialEq for StarMode
Auto Trait Implementations§
impl Freeze for StarMode
impl RefUnwindSafe for StarMode
impl Send for StarMode
impl Sync for StarMode
impl Unpin for StarMode
impl UnsafeUnpin for StarMode
impl UnwindSafe for StarMode
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