Trait OinterGet

Source
pub unsafe trait OinterGet<T: Copy, const N: usize>: Ointer<N> {
    // Provided method
    fn get_high_bits(&self) -> T { ... }
}

Provided Methods§

Source

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.

Implementors§

Source§

impl<const N: usize, T: Copy, Ty: Ointer<N>> OinterGet<T, N> for Ty