pub enum CsrLayout {
Sorted,
Unsorted,
Deduplicated,
}
Expand description
Defines how the neighbor list of individual nodes are organized within the CSR target array.
Variants§
Sorted
Neighbor lists are sorted and may contain duplicate target ids. This is the default representation.
Unsorted
Neighbor lists are not in any particular order.
Deduplicated
Neighbor lists are sorted and do not contain duplicate target ids.
Self-loops, i.e., edges in the form of (u, u)
are removed.
Trait Implementations§
impl Copy for CsrLayout
Auto Trait Implementations§
impl RefUnwindSafe for CsrLayout
impl Send for CsrLayout
impl Sync for CsrLayout
impl Unpin for CsrLayout
impl UnwindSafe for CsrLayout
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