pub struct PathReconstructDispatchPlan {
pub parent_words: usize,
pub target_words: usize,
pub path_words: usize,
pub len_words: usize,
pub max_depth: u32,
pub grid: [u32; 3],
}Expand description
Primitive-owned dispatch plan for one path reconstruction.
Fields§
§parent_words: usizeNumber of parent entries supplied by the caller.
target_words: usizeNumber of words in the target buffer.
path_words: usizeNumber of words in the padded path output.
len_words: usizeNumber of words in the length output.
max_depth: u32Maximum path depth accepted by this dispatch.
grid: [u32; 3]Dispatch grid override.
Implementations§
Source§impl PathReconstructDispatchPlan
impl PathReconstructDispatchPlan
Sourcepub fn program(&self) -> Program
pub fn program(&self) -> Program
Build the single-target path-reconstruction program for this plan.
Sourcepub fn static_input_key(
&self,
parent: &[u32],
) -> Result<PathReconstructStaticInputKey, String>
pub fn static_input_key( &self, parent: &[u32], ) -> Result<PathReconstructStaticInputKey, String>
Return the primitive-owned cache identity for this plan’s static parent input.
§Errors
Returns an actionable diagnostic when the parent slice no longer matches the validated single-target dispatch plan.
Trait Implementations§
Source§impl Clone for PathReconstructDispatchPlan
impl Clone for PathReconstructDispatchPlan
Source§fn clone(&self) -> PathReconstructDispatchPlan
fn clone(&self) -> PathReconstructDispatchPlan
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 moreSource§impl Debug for PathReconstructDispatchPlan
impl Debug for PathReconstructDispatchPlan
impl Eq for PathReconstructDispatchPlan
impl StructuralPartialEq for PathReconstructDispatchPlan
Auto Trait Implementations§
impl Freeze for PathReconstructDispatchPlan
impl RefUnwindSafe for PathReconstructDispatchPlan
impl Send for PathReconstructDispatchPlan
impl Sync for PathReconstructDispatchPlan
impl Unpin for PathReconstructDispatchPlan
impl UnsafeUnpin for PathReconstructDispatchPlan
impl UnwindSafe for PathReconstructDispatchPlan
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.