Trait wgpu_types::assertions::StrictAssertUnwrapExt
source · pub trait StrictAssertUnwrapExt<T> {
// Required method
unsafe fn strict_unwrap_unchecked(self) -> T;
}
Expand description
Unwrapping using strict_asserts
Required Methods§
sourceunsafe fn strict_unwrap_unchecked(self) -> T
unsafe fn strict_unwrap_unchecked(self) -> T
Unchecked unwrap, with a strict_assert
backed assertion of validitly.
Safety
It must be valid to call unwrap_unchecked on this value.