Skip to main content

U32

Trait U32 

Source
pub(crate) trait U32 {
    // Required methods
    fn as_usize(self) -> usize;
    fn low_u8(self) -> u8;
    fn low_u16(self) -> u16;
    fn high_u16(self) -> u16;
}

Required Methods§

Source

fn as_usize(self) -> usize

Source

fn low_u8(self) -> u8

Source

fn low_u16(self) -> u16

Source

fn high_u16(self) -> u16

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl U32 for u32

Source§

fn as_usize(self) -> usize

Source§

fn low_u8(self) -> u8

Source§

fn low_u16(self) -> u16

Source§

fn high_u16(self) -> u16

Implementors§