pub trait Width32BitPortionwhere
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§
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
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.