pub enum FilterableTriggeringRule {
    Standard(StandardFilterableTriggeringRule),
    Unknown(Box<str>),
    User(Box<[Box<str>; 2]>),
}Expand description
A filterable triggering rule in a DiagnosticFilter.
Variants§
Implementations§
Source§impl FilterableTriggeringRule
 
impl FilterableTriggeringRule
Sourcepub const fn display_wgsl_ident(&self) -> impl Display + '_
 
pub const fn display_wgsl_ident(&self) -> impl Display + '_
Display this rule’s identifiers in WGSL.
Trait Implementations§
Source§impl Clone for FilterableTriggeringRule
 
impl Clone for FilterableTriggeringRule
Source§fn clone(&self) -> FilterableTriggeringRule
 
fn clone(&self) -> FilterableTriggeringRule
Returns a duplicate 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 Debug for FilterableTriggeringRule
 
impl Debug for FilterableTriggeringRule
Source§impl Hash for FilterableTriggeringRule
 
impl Hash for FilterableTriggeringRule
Source§impl Ord for FilterableTriggeringRule
 
impl Ord for FilterableTriggeringRule
Source§fn cmp(&self, other: &FilterableTriggeringRule) -> Ordering
 
fn cmp(&self, other: &FilterableTriggeringRule) -> 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 FilterableTriggeringRule
 
impl PartialEq for FilterableTriggeringRule
Source§impl PartialOrd for FilterableTriggeringRule
 
impl PartialOrd for FilterableTriggeringRule
impl Eq for FilterableTriggeringRule
impl StructuralPartialEq for FilterableTriggeringRule
Auto Trait Implementations§
impl Freeze for FilterableTriggeringRule
impl RefUnwindSafe for FilterableTriggeringRule
impl Send for FilterableTriggeringRule
impl Sync for FilterableTriggeringRule
impl Unpin for FilterableTriggeringRule
impl UnwindSafe for FilterableTriggeringRule
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§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§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.