pub enum AdjacencyType {
Upper,
Lower,
Both,
}Expand description
Which triangle of the adjacency matrix to fill (undirected graphs only).
Variants§
Upper
Upper-right triangle only.
Lower
Lower-left triangle only.
Both
Both triangles — full symmetric matrix.
Trait Implementations§
Source§impl Clone for AdjacencyType
impl Clone for AdjacencyType
Source§fn clone(&self) -> AdjacencyType
fn clone(&self) -> AdjacencyType
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 AdjacencyType
impl Debug for AdjacencyType
Source§impl PartialEq for AdjacencyType
impl PartialEq for AdjacencyType
impl Copy for AdjacencyType
impl Eq for AdjacencyType
impl StructuralPartialEq for AdjacencyType
Auto Trait Implementations§
impl Freeze for AdjacencyType
impl RefUnwindSafe for AdjacencyType
impl Send for AdjacencyType
impl Sync for AdjacencyType
impl Unpin for AdjacencyType
impl UnsafeUnpin for AdjacencyType
impl UnwindSafe for AdjacencyType
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