Function wgpu_test::valid

source ·
pub fn valid<T>(device: &Device, callback: impl FnOnce() -> T) -> T
Expand description

Run some code in an error scope and assert that validation succeeds.