pub enum StarMode {
Out,
In,
Undirected,
Mutual,
}Expand description
Orientation of a star graph (igraph_star_mode_t).
Variants§
Out
Edges point from the center outwards.
In
Edges point to the center.
Undirected
Undirected star.
Mutual
Mutual directed edges.
Trait Implementations§
impl Copy for StarMode
impl Eq for StarMode
Source§impl From<StarMode> for igraph_star_mode_t
impl From<StarMode> for igraph_star_mode_t
Source§fn from(value: StarMode) -> igraph_star_mode_t
fn from(value: StarMode) -> igraph_star_mode_t
Converts to this type from the input type.
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