Trait compiler_builtins::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;
}🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
Trait to convert an integer to/from smaller parts
Associated Types
type LowHalf
🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
type HighHalf
🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
Required Methods
fn low(self) -> Self::LowHalf
🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
fn high(self) -> Self::HighHalf
🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
fn from_parts(low: Self::LowHalf, high: Self::HighHalf) -> Self
🔬 This is a nightly-only experimental API. (compiler_builtins_lib)
Compiler builtins. Will never become stable.
Implementors
impl LargeInt for u64impl LargeInt for i64