pub trait ShouldBeNonZeroExt {
// Required method
fn get(&self) -> u64;
}
Expand description
Temporary convenience trait to let us call .get()
on u64
s in code that
really wants to be using NonZeroU64
.
TODO(https://github.com/gfx-rs/wgpu/issues/3170): remove this