pub trait StrictAssertUnwrapExt<T> {
    // Required method
    unsafe fn strict_unwrap_unchecked(self) -> T;
}
Expand description

Unwrapping using strict_asserts

Required Methods§

source

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.

Implementations on Foreign Types§

source§

impl<T, E> StrictAssertUnwrapExt<T> for Result<T, E>

source§

unsafe fn strict_unwrap_unchecked(self) -> T

source§

impl<T> StrictAssertUnwrapExt<T> for Option<T>

source§

unsafe fn strict_unwrap_unchecked(self) -> T

Implementors§