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 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 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§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.