pub struct PersistentBfsStaticInputKey {
pub layout_hash: u64,
pub node_count: u32,
pub edge_count: u32,
pub words: u32,
}Expand description
Primitive-owned identity for immutable non-resident persistent-BFS inputs.
Dynamic frontier input/output and changed buffers are intentionally omitted: dispatch wrappers refresh those every call. This key covers graph contents and shape that decide when static CSR/device inputs must be refreshed.
Fields§
§layout_hash: u64Stable graph-content hash from crate::graph::persistent_bfs::persistent_bfs_layout_hash.
node_count: u32Number of graph nodes.
edge_count: u32Number of logical CSR edges.
words: u32Number of frontier words.
Trait Implementations§
Source§impl Clone for PersistentBfsStaticInputKey
impl Clone for PersistentBfsStaticInputKey
Source§fn clone(&self) -> PersistentBfsStaticInputKey
fn clone(&self) -> PersistentBfsStaticInputKey
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 PersistentBfsStaticInputKey
Source§impl Debug for PersistentBfsStaticInputKey
impl Debug for PersistentBfsStaticInputKey
impl Eq for PersistentBfsStaticInputKey
impl StructuralPartialEq for PersistentBfsStaticInputKey
Auto Trait Implementations§
impl Freeze for PersistentBfsStaticInputKey
impl RefUnwindSafe for PersistentBfsStaticInputKey
impl Send for PersistentBfsStaticInputKey
impl Sync for PersistentBfsStaticInputKey
impl Unpin for PersistentBfsStaticInputKey
impl UnsafeUnpin for PersistentBfsStaticInputKey
impl UnwindSafe for PersistentBfsStaticInputKey
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.