pub struct MotifStaticInputKey {
pub node_count: u32,
pub output_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 motif static graph inputs.
Motif edges are compiled into the generated Program and are therefore part
of MotifProgramCacheKey. This key only tracks staged CSR graph inputs so
dispatch wrappers can reuse static graph buffers across motif-program
changes without forking fingerprint rules.
Fields§
§node_count: u32Number of graph nodes and witness words.
output_words: usizeNumber of u32 witness/scratch words staged by the wrapper.
edge_storage_words: usizeNumber of u32 words staged for edge targets and kind masks.
edge_offsets_hash: u64Stable fingerprint of the CSR offsets upload.
edge_targets_hash: u64Stable fingerprint of the padded target upload.
edge_kind_mask_hash: u64Stable fingerprint of the padded kind-mask upload.
Trait Implementations§
Source§impl Clone for MotifStaticInputKey
impl Clone for MotifStaticInputKey
Source§fn clone(&self) -> MotifStaticInputKey
fn clone(&self) -> MotifStaticInputKey
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 MotifStaticInputKey
Source§impl Debug for MotifStaticInputKey
impl Debug for MotifStaticInputKey
impl Eq for MotifStaticInputKey
Source§impl PartialEq for MotifStaticInputKey
impl PartialEq for MotifStaticInputKey
impl StructuralPartialEq for MotifStaticInputKey
Auto Trait Implementations§
impl Freeze for MotifStaticInputKey
impl RefUnwindSafe for MotifStaticInputKey
impl Send for MotifStaticInputKey
impl Sync for MotifStaticInputKey
impl Unpin for MotifStaticInputKey
impl UnsafeUnpin for MotifStaticInputKey
impl UnwindSafe for MotifStaticInputKey
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.