pub trait PossiblyBoundsChecked<N>: Sealed {
// Required method
fn to_unchecked(self) -> N;
}Expand description
A trait implemented by N and NonZero<N>, where N is an integer type.
Required Methods§
Sourcefn to_unchecked(self) -> N
fn to_unchecked(self) -> N
Convert this object to an instance of N.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".