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<'arbitrary> Arbitrary<'arbitrary> for FilterableTriggeringRule
impl<'arbitrary> Arbitrary<'arbitrary> for FilterableTriggeringRule
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 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<'de> Deserialize<'de> for FilterableTriggeringRule
impl<'de> Deserialize<'de> for FilterableTriggeringRule
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 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§fn eq(&self, other: &FilterableTriggeringRule) -> bool
fn eq(&self, other: &FilterableTriggeringRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FilterableTriggeringRule
impl PartialOrd for FilterableTriggeringRule
source§fn partial_cmp(&self, other: &FilterableTriggeringRule) -> Option<Ordering>
fn partial_cmp(&self, other: &FilterableTriggeringRule) -> 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 moresource§impl Serialize for FilterableTriggeringRule
impl Serialize for FilterableTriggeringRule
impl Eq for FilterableTriggeringRule
impl StructuralEq for FilterableTriggeringRule
impl StructuralPartialEq for FilterableTriggeringRule
Auto Trait Implementations§
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
§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.