pub enum StandardFilterableTriggeringRule {
DerivativeUniformity,
}
Expand description
A filterable triggering rule in a DiagnosticFilter
.
Variants§
DerivativeUniformity
Implementations§
source§impl StandardFilterableTriggeringRule
impl StandardFilterableTriggeringRule
sourcepub fn from_wgsl_ident(s: &str) -> Option<Self>
pub fn from_wgsl_ident(s: &str) -> Option<Self>
Convert from a sentinel word in WGSL into its associated
StandardFilterableTriggeringRule
, if possible.
sourcepub const fn to_wgsl_ident(self) -> &'static str
pub const fn to_wgsl_ident(self) -> &'static str
Maps this StandardFilterableTriggeringRule
into the sentinel word associated with it in
WGSL.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for StandardFilterableTriggeringRule
impl<'arbitrary> Arbitrary<'arbitrary> for StandardFilterableTriggeringRule
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for StandardFilterableTriggeringRule
impl Clone for StandardFilterableTriggeringRule
source§fn clone(&self) -> StandardFilterableTriggeringRule
fn clone(&self) -> StandardFilterableTriggeringRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for StandardFilterableTriggeringRule
impl<'de> Deserialize<'de> for StandardFilterableTriggeringRule
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
source§impl Ord for StandardFilterableTriggeringRule
impl Ord for StandardFilterableTriggeringRule
source§fn cmp(&self, other: &StandardFilterableTriggeringRule) -> Ordering
fn cmp(&self, other: &StandardFilterableTriggeringRule) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for StandardFilterableTriggeringRule
impl PartialEq for StandardFilterableTriggeringRule
source§fn eq(&self, other: &StandardFilterableTriggeringRule) -> bool
fn eq(&self, other: &StandardFilterableTriggeringRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StandardFilterableTriggeringRule
impl PartialOrd for StandardFilterableTriggeringRule
source§fn partial_cmp(
&self,
other: &StandardFilterableTriggeringRule
) -> Option<Ordering>
fn partial_cmp( &self, other: &StandardFilterableTriggeringRule ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StandardFilterableTriggeringRule
impl Eq for StandardFilterableTriggeringRule
impl StructuralEq for StandardFilterableTriggeringRule
impl StructuralPartialEq for StandardFilterableTriggeringRule
Auto Trait Implementations§
impl RefUnwindSafe for StandardFilterableTriggeringRule
impl Send for StandardFilterableTriggeringRule
impl Sync for StandardFilterableTriggeringRule
impl Unpin for StandardFilterableTriggeringRule
impl UnwindSafe for StandardFilterableTriggeringRule
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.