Struct wgpu_hal::ValidationCanary
source · pub struct ValidationCanary { /* private fields */ }
Expand description
Flag for internal testing.
Implementations§
source§impl 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§
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