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) -> Vec<String>
pub fn get_and_reset(&self) -> Vec<String>
Returns any API validation errors that hav 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