pub struct CsrBidirectionalStaticInputKey {
pub program_key: CsrBidirectionalProgramKey,
pub edge_offset_words: usize,
pub edge_storage_words: usize,
pub edge_offsets_hash: u64,
pub edge_targets_hash: u64,
pub edge_kind_mask_hash: u64,
}Expand description
Primitive-owned identity for reusable bidirectional CSR static inputs.
Dispatch wrappers stage node scratch and frontier buffers dynamically, but CSR offsets, targets, and edge-kind masks are static graph inputs. This key keeps content identity next to the primitive-owned layout and padded edge storage contract.
Fields§
§program_key: CsrBidirectionalProgramKeyProgram identity selected by the primitive dispatch planner.
edge_offset_words: usizeWords in the CSR offsets buffer.
edge_storage_words: usizeWords in each padded edge-indexed input.
edge_offsets_hash: u64Stable fingerprint of the edge-offset upload.
edge_targets_hash: u64Stable fingerprint of the padded edge-target upload.
edge_kind_mask_hash: u64Stable fingerprint of the padded edge-kind upload.
Trait Implementations§
Source§impl Clone for CsrBidirectionalStaticInputKey
impl Clone for CsrBidirectionalStaticInputKey
Source§fn clone(&self) -> CsrBidirectionalStaticInputKey
fn clone(&self) -> CsrBidirectionalStaticInputKey
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 CsrBidirectionalStaticInputKey
impl Eq for CsrBidirectionalStaticInputKey
impl StructuralPartialEq for CsrBidirectionalStaticInputKey
Auto Trait Implementations§
impl Freeze for CsrBidirectionalStaticInputKey
impl RefUnwindSafe for CsrBidirectionalStaticInputKey
impl Send for CsrBidirectionalStaticInputKey
impl Sync for CsrBidirectionalStaticInputKey
impl Unpin for CsrBidirectionalStaticInputKey
impl UnsafeUnpin for CsrBidirectionalStaticInputKey
impl UnwindSafe for CsrBidirectionalStaticInputKey
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.