Struct wgpu_hal::ValidationCanary
source · [−]pub struct ValidationCanary { /* private fields */ }
Expand description
Flag for internal testing.
Implementations
sourceimpl ValidationCanary
impl ValidationCanary
sourcepub fn get_and_reset(&self) -> bool
pub fn get_and_reset(&self) -> bool
Returns true if any API validation error has occurred in this process since the last call to this function.
Auto Trait Implementations
impl RefUnwindSafe for ValidationCanary
impl Send for ValidationCanary
impl Sync for ValidationCanary
impl Unpin for ValidationCanary
impl UnwindSafe for ValidationCanary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more