Struct naga::diagnostic_filter::DiagnosticFilter
source · pub struct DiagnosticFilter {
pub new_severity: Severity,
pub triggering_rule: FilterableTriggeringRule,
}
Expand description
A filtering rule that modifies how diagnostics are emitted for shaders.
Fields§
§new_severity: Severity
§triggering_rule: FilterableTriggeringRule
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DiagnosticFilter
impl<'arbitrary> Arbitrary<'arbitrary> for DiagnosticFilter
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 DiagnosticFilter
impl Clone for DiagnosticFilter
source§fn clone(&self) -> DiagnosticFilter
fn clone(&self) -> DiagnosticFilter
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 DiagnosticFilter
impl Debug for DiagnosticFilter
source§impl<'de> Deserialize<'de> for DiagnosticFilter
impl<'de> Deserialize<'de> for DiagnosticFilter
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
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticFilter
impl Send for DiagnosticFilter
impl Sync for DiagnosticFilter
impl Unpin for DiagnosticFilter
impl UnwindSafe for DiagnosticFilter
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