pub enum BcsrSection {
HeadOffsets,
HeadParticipants,
TailOffsets,
TailParticipants,
VertexOutgoingOffsets,
VertexOutgoingHyperedges,
VertexIncomingOffsets,
VertexIncomingHyperedges,
}Expand description
Names a single bipartite-CSR section for error reporting.
Carrying this in error variants avoids stringly-typed reasons while keeping the failing section identifiable from the error alone.
§Performance
perf: unspecified; this is a metadata enum.
Variants§
HeadOffsets
BCSR_HEAD_OFFSETS.
HeadParticipants
BCSR_HEAD_PARTICIPANTS.
TailOffsets
BCSR_TAIL_OFFSETS.
TailParticipants
BCSR_TAIL_PARTICIPANTS.
VertexOutgoingOffsets
BCSR_VERTEX_OUTGOING_OFFSETS.
VertexOutgoingHyperedges
BCSR_VERTEX_OUTGOING_HYPEREDGES.
VertexIncomingOffsets
BCSR_VERTEX_INCOMING_OFFSETS.
VertexIncomingHyperedges
BCSR_VERTEX_INCOMING_HYPEREDGES.
Trait Implementations§
Source§impl Clone for BcsrSection
impl Clone for BcsrSection
Source§fn clone(&self) -> BcsrSection
fn clone(&self) -> BcsrSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BcsrSection
Source§impl Debug for BcsrSection
impl Debug for BcsrSection
Source§impl Display for BcsrSection
impl Display for BcsrSection
impl Eq for BcsrSection
Source§impl PartialEq for BcsrSection
impl PartialEq for BcsrSection
Source§fn eq(&self, other: &BcsrSection) -> bool
fn eq(&self, other: &BcsrSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BcsrSection
Auto Trait Implementations§
impl Freeze for BcsrSection
impl RefUnwindSafe for BcsrSection
impl Send for BcsrSection
impl Sync for BcsrSection
impl Unpin for BcsrSection
impl UnsafeUnpin for BcsrSection
impl UnwindSafe for BcsrSection
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