pub struct PathReconstructStaticInputKey {
pub parent_words: usize,
pub parent_hash: u64,
pub target_count: u32,
pub max_depth: u32,
pub batched: bool,
}Expand description
Primitive-owned identity for reusable path-reconstruction static inputs.
Dispatch wrappers use this key to decide whether the parent-pointer array can remain staged across calls. Keeping the fingerprint beside the primitive plan prevents every wrapper from forking parent-vector cache semantics.
Fields§
§parent_words: usizeNumber of parent entries supplied by the caller.
parent_hash: u64Stable content fingerprint for the parent-pointer array.
target_count: u32Number of target nodes in this dispatch.
max_depth: u32Maximum path depth accepted by this dispatch.
batched: boolTrue when this key describes a batched dispatch.
Trait Implementations§
Source§impl Clone for PathReconstructStaticInputKey
impl Clone for PathReconstructStaticInputKey
Source§fn clone(&self) -> PathReconstructStaticInputKey
fn clone(&self) -> PathReconstructStaticInputKey
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 PathReconstructStaticInputKey
impl Eq for PathReconstructStaticInputKey
impl StructuralPartialEq for PathReconstructStaticInputKey
Auto Trait Implementations§
impl Freeze for PathReconstructStaticInputKey
impl RefUnwindSafe for PathReconstructStaticInputKey
impl Send for PathReconstructStaticInputKey
impl Sync for PathReconstructStaticInputKey
impl Unpin for PathReconstructStaticInputKey
impl UnsafeUnpin for PathReconstructStaticInputKey
impl UnwindSafe for PathReconstructStaticInputKey
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.