Trait compiler_builtins_snapshot::int::LargeInt
[−]
[src]
pub trait LargeInt { type LowHalf; type HighHalf; fn low(self) -> Self::LowHalf; fn high(self) -> Self::HighHalf; fn from_parts(low: Self::LowHalf, high: Self::HighHalf) -> Self; }
Trait to convert an integer to/from smaller parts
Associated Types
Required Methods
fn low(self) -> Self::LowHalf
fn high(self) -> Self::HighHalf
fn from_parts(low: Self::LowHalf, high: Self::HighHalf) -> Self
Implementors
impl LargeInt for u64
impl LargeInt for i64