pub enum EmitterRole {
General,
Specialist,
}Expand description
Role of a backend emitter within a multi-emitter quorum.
compile_targets.via.role in the YAML schema corresponds to this
enum. At most one General per quorum (the mandatory fallback);
any number of Specialist (each with its own shape_filter).
Variants§
General
Handles any contract-conforming input. Mandatory fallback —
pv lint (post-PMAT-262) will require at least one General
emitter per Layer-5 contract’s compile_targets.via.
Examples: rustc_codegen_nvvm (PTX), naga (WGSL),
rspirv (SPIR-V).
Specialist
Handles a domain-specific subset via hand-tuned templates.
Optional — degrades gracefully to single-emitter when missing.
Examples: aprender-gpu (GEMM/MMA PTX kernels),
bashrs-realistic (corpus-tuned POSIX patterns).
Trait Implementations§
Source§impl Clone for EmitterRole
impl Clone for EmitterRole
Source§fn clone(&self) -> EmitterRole
fn clone(&self) -> EmitterRole
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 EmitterRole
Source§impl Debug for EmitterRole
impl Debug for EmitterRole
Source§impl<'de> Deserialize<'de> for EmitterRole
impl<'de> Deserialize<'de> for EmitterRole
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 EmitterRole
Source§impl Hash for EmitterRole
impl Hash for EmitterRole
Source§impl PartialEq for EmitterRole
impl PartialEq for EmitterRole
Source§fn eq(&self, other: &EmitterRole) -> bool
fn eq(&self, other: &EmitterRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmitterRole
impl Serialize for EmitterRole
impl StructuralPartialEq for EmitterRole
Auto Trait Implementations§
impl Freeze for EmitterRole
impl RefUnwindSafe for EmitterRole
impl Send for EmitterRole
impl Sync for EmitterRole
impl Unpin for EmitterRole
impl UnsafeUnpin for EmitterRole
impl UnwindSafe for EmitterRole
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.