pub unsafe trait OinterGet<T: Copy, const N: usize>: Ointer<N> {
// Provided method
fn get_high_bits(&self) -> T { ... }
}
Provided Methods§
Sourcefn get_high_bits(&self) -> T
fn get_high_bits(&self) -> T
Get high N
bits and cast as T
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.