pub enum StandardFilterableTriggeringRule {
DerivativeUniformity,
}
Expand description
A filterable triggering rule in a DiagnosticFilter
.
Variants§
DerivativeUniformity
Implementations§
source§impl StandardFilterableTriggeringRule
impl StandardFilterableTriggeringRule
const DERIVATIVE_UNIFORMITY: &'static str = "derivative_uniformity"
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.
source§impl StandardFilterableTriggeringRule
impl StandardFilterableTriggeringRule
sourcepub(crate) const fn default_severity(self) -> Severity
pub(crate) const fn default_severity(self) -> Severity
The default severity associated with this triggering rule.
See https://www.w3.org/TR/WGSL/#filterable-triggering-rules for a table of default severities.
Trait Implementations§
source§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 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
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for StandardFilterableTriggeringRule
impl PartialOrd for StandardFilterableTriggeringRule
impl Copy for StandardFilterableTriggeringRule
impl Eq for StandardFilterableTriggeringRule
impl StructuralPartialEq for StandardFilterableTriggeringRule
Auto Trait Implementations§
impl Freeze for StandardFilterableTriggeringRule
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.