pub trait Width32BitPortion
where Self: Sized,
{ // Required methods fn from_low_high_u16(low: u16, high: u16) -> Self; fn low_u16(self) -> u16; fn high_u16(self) -> u16; // Provided methods fn from_high_low_u16(high: u16, low: u16) -> Self { ... } fn from_low_high_i16(low: i16, high: i16) -> Self { ... } fn from_high_low_i16(high: i16, low: i16) -> Self { ... } fn low_i16(self) -> i16 { ... } fn high_i16(self) -> i16 { ... } }
Expand description

A trait concerned with the least significant 32 bits of integer types.

Required Methods§

source

fn from_low_high_u16(low: u16, high: u16) -> Self

source

fn low_u16(self) -> u16

source

fn high_u16(self) -> u16

Provided Methods§

source

fn from_high_low_u16(high: u16, low: u16) -> Self

source

fn from_low_high_i16(low: i16, high: i16) -> Self

source

fn from_high_low_i16(high: i16, low: i16) -> Self

source

fn low_i16(self) -> i16

source

fn high_i16(self) -> i16

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Width32BitPortion for i32

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for isize

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for u32

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for usize

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for LPARAM

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for LRESULT

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

source§

impl Width32BitPortion for WPARAM

source§

fn from_low_high_u16(low: u16, high: u16) -> Self

source§

fn low_u16(self) -> u16

source§

fn high_u16(self) -> u16

Implementors§