Trait ShouldBeNonZeroExt
pub trait ShouldBeNonZeroExt {
// Required method
fn get(&self) -> u64;
}Available on crate feature
unstable-wgpu-29 only.Expand description
Temporary convenience trait to let us call .get() on u64s in code that
really wants to be using NonZeroU64.
TODO(https://github.com/gfx-rs/wgpu/issues/3170): remove this
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".