pub struct CsrQueueGraphLayout {
pub node_count: u32,
pub edge_count: u32,
pub max_row_degree: u32,
pub words: usize,
pub edge_storage_words: usize,
}Expand description
Validated resident graph layout for queue-driven sparse traversal.
The primitive owns these derived counts so resident dispatch wrappers do not fork CSR edge-count, edge-padding, or frontier bitset sizing rules.
Fields§
§node_count: u32Number of graph nodes accepted by the primitive.
edge_count: u32Exact physical edge count declared by edge_offsets[node_count].
max_row_degree: u32Largest CSR row degree in the graph.
words: usizeNumber of u32 words in each packed frontier bitset.
edge_storage_words: usizeNumber of u32 words to allocate/upload for edge target and kind arrays.
Trait Implementations§
Source§impl Clone for CsrQueueGraphLayout
impl Clone for CsrQueueGraphLayout
Source§fn clone(&self) -> CsrQueueGraphLayout
fn clone(&self) -> CsrQueueGraphLayout
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 CsrQueueGraphLayout
Source§impl Debug for CsrQueueGraphLayout
impl Debug for CsrQueueGraphLayout
impl Eq for CsrQueueGraphLayout
Source§impl PartialEq for CsrQueueGraphLayout
impl PartialEq for CsrQueueGraphLayout
impl StructuralPartialEq for CsrQueueGraphLayout
Auto Trait Implementations§
impl Freeze for CsrQueueGraphLayout
impl RefUnwindSafe for CsrQueueGraphLayout
impl Send for CsrQueueGraphLayout
impl Sync for CsrQueueGraphLayout
impl Unpin for CsrQueueGraphLayout
impl UnsafeUnpin for CsrQueueGraphLayout
impl UnwindSafe for CsrQueueGraphLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.