#[non_exhaustive]pub enum ValidationLocation {
Program,
WorkgroupAxis(u8),
Buffer(Cow<'static, str>),
Node(u32),
Expression {
node: u32,
depth: u32,
},
Operand {
node: u32,
operand: u32,
},
Traversal {
ordinal: u64,
},
Operation(Cow<'static, str>),
}Expand description
Typed location within the validated program.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Program
The complete program.
WorkgroupAxis(u8)
One workgroup axis.
Buffer(Cow<'static, str>)
One declared buffer.
Node(u32)
One node in pre-order traversal.
Expression
One expression owned by a node.
Operand
One operand of an expression or call.
Traversal
One issue within a deterministic validator traversal.
Operation(Cow<'static, str>)
One registered semantic operation.
Trait Implementations§
Source§impl Clone for ValidationLocation
impl Clone for ValidationLocation
Source§fn clone(&self) -> ValidationLocation
fn clone(&self) -> ValidationLocation
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 ValidationLocation
impl Debug for ValidationLocation
Source§impl<'de> Deserialize<'de> for ValidationLocation
impl<'de> Deserialize<'de> for ValidationLocation
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 ValidationLocation
Source§impl Hash for ValidationLocation
impl Hash for ValidationLocation
Source§impl PartialEq for ValidationLocation
impl PartialEq for ValidationLocation
Source§impl Serialize for ValidationLocation
impl Serialize for ValidationLocation
impl StructuralPartialEq for ValidationLocation
Auto Trait Implementations§
impl Freeze for ValidationLocation
impl RefUnwindSafe for ValidationLocation
impl Send for ValidationLocation
impl Sync for ValidationLocation
impl Unpin for ValidationLocation
impl UnsafeUnpin for ValidationLocation
impl UnwindSafe for ValidationLocation
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.