pub struct CsrForwardOrChangedProgramKey { /* private fields */ }Expand description
Program identity for the forward-or-changed CSR primitive.
Dispatch consumers can cache generated programs by this key without
re-implementing CSR validation, changed-history selection, or launch-grid
policy outside vyre-primitives.
Implementations§
Source§impl CsrForwardOrChangedProgramKey
impl CsrForwardOrChangedProgramKey
Sourcepub const fn layout(&self) -> CsrForwardOrChangedLayout
pub const fn layout(&self) -> CsrForwardOrChangedLayout
Validated CSR/frontier layout represented by this program.
Sourcepub const fn allow_mask(&self) -> u32
pub const fn allow_mask(&self) -> u32
Edge-kind mask accepted by this program.
Sourcepub const fn changed_slots(&self) -> u32
pub const fn changed_slots(&self) -> u32
Number of changed-buffer slots this program writes.
Sourcepub const fn uses_changed_history(&self) -> bool
pub const fn uses_changed_history(&self) -> bool
True when this program uses the dynamic changed-history fast path.
Trait Implementations§
Source§impl Clone for CsrForwardOrChangedProgramKey
impl Clone for CsrForwardOrChangedProgramKey
Source§fn clone(&self) -> CsrForwardOrChangedProgramKey
fn clone(&self) -> CsrForwardOrChangedProgramKey
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 CsrForwardOrChangedProgramKey
impl Eq for CsrForwardOrChangedProgramKey
impl StructuralPartialEq for CsrForwardOrChangedProgramKey
Auto Trait Implementations§
impl Freeze for CsrForwardOrChangedProgramKey
impl RefUnwindSafe for CsrForwardOrChangedProgramKey
impl Send for CsrForwardOrChangedProgramKey
impl Sync for CsrForwardOrChangedProgramKey
impl Unpin for CsrForwardOrChangedProgramKey
impl UnsafeUnpin for CsrForwardOrChangedProgramKey
impl UnwindSafe for CsrForwardOrChangedProgramKey
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.