#[repr(C)]pub struct PersistentWorkItem {
pub input_offset: u32,
pub input_len: u32,
pub rule_set_id: u32,
pub correlation: u32,
}Expand description
One scan-unit descriptor.
All fields are plain 32-bit numbers so the same struct lays out identically on host and device.
Fields§
§input_offset: u32Byte offset into the persistent input buffer.
input_len: u32Number of bytes in this scan unit.
rule_set_id: u32Rule-set / fused-megakernel output-slot bank id.
correlation: u32Caller-opaque correlation id - echoed into the per-item completion counter so the host can match results back to a scan job without a shadow map.
Trait Implementations§
Source§impl Clone for PersistentWorkItem
impl Clone for PersistentWorkItem
Source§fn clone(&self) -> PersistentWorkItem
fn clone(&self) -> PersistentWorkItem
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 PersistentWorkItem
Source§impl Debug for PersistentWorkItem
impl Debug for PersistentWorkItem
impl Eq for PersistentWorkItem
Source§impl PartialEq for PersistentWorkItem
impl PartialEq for PersistentWorkItem
Source§fn eq(&self, other: &PersistentWorkItem) -> bool
fn eq(&self, other: &PersistentWorkItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersistentWorkItem
Auto Trait Implementations§
impl Freeze for PersistentWorkItem
impl RefUnwindSafe for PersistentWorkItem
impl Send for PersistentWorkItem
impl Sync for PersistentWorkItem
impl Unpin for PersistentWorkItem
impl UnsafeUnpin for PersistentWorkItem
impl UnwindSafe for PersistentWorkItem
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.