pub enum DescriptorIntentKind {
LiteralPrefilter,
AutomataTransition,
Verifier,
OutputCompaction,
RelationSeed,
StreamingState,
}Expand description
Backend-neutral scan intent attached beside a KernelDescriptor.
These intents describe why descriptor regions exist, not how a backend must implement them. CUDA, WGPU, Metal, SPIR-V, and CPU emitters can route from these strategy classes without owning scan compiler policy.
Variants§
Implementations§
Source§impl DescriptorIntentKind
impl DescriptorIntentKind
pub const fn strategy(self) -> DescriptorIntentStrategy
Trait Implementations§
Source§impl Clone for DescriptorIntentKind
impl Clone for DescriptorIntentKind
Source§fn clone(&self) -> DescriptorIntentKind
fn clone(&self) -> DescriptorIntentKind
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 DescriptorIntentKind
Source§impl Debug for DescriptorIntentKind
impl Debug for DescriptorIntentKind
Source§impl<'de> Deserialize<'de> for DescriptorIntentKind
impl<'de> Deserialize<'de> for DescriptorIntentKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DescriptorIntentKind
Source§impl Hash for DescriptorIntentKind
impl Hash for DescriptorIntentKind
Source§impl PartialEq for DescriptorIntentKind
impl PartialEq for DescriptorIntentKind
Source§impl Serialize for DescriptorIntentKind
impl Serialize for DescriptorIntentKind
impl StructuralPartialEq for DescriptorIntentKind
Auto Trait Implementations§
impl Freeze for DescriptorIntentKind
impl RefUnwindSafe for DescriptorIntentKind
impl Send for DescriptorIntentKind
impl Sync for DescriptorIntentKind
impl Unpin for DescriptorIntentKind
impl UnsafeUnpin for DescriptorIntentKind
impl UnwindSafe for DescriptorIntentKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.