[−][src]Trait compiler_builtins::int::LargeInt
🔬 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: Int
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
type HighHalf: Int
🔬 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 low_as_high(low: Self::LowHalf) -> Self::HighHalf
🔬 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 high_as_low(low: Self::HighHalf) -> Self::LowHalf
🔬 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 i64
[src]
type LowHalf = u32
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
type HighHalf = i32
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
fn low(self) -> u32
[src]
fn low_as_high(low: u32) -> i32
[src]
fn high(self) -> i32
[src]
fn high_as_low(high: i32) -> u32
[src]
fn from_parts(low: u32, high: i32) -> i64
[src]
impl LargeInt for i128
[src]
type LowHalf = u64
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
type HighHalf = i64
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
fn low(self) -> u64
[src]
fn low_as_high(low: u64) -> i64
[src]
fn high(self) -> i64
[src]
fn high_as_low(high: i64) -> u64
[src]
fn from_parts(low: u64, high: i64) -> i128
[src]
impl LargeInt for u64
[src]
type LowHalf = u32
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
type HighHalf = u32
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
fn low(self) -> u32
[src]
fn low_as_high(low: u32) -> u32
[src]
fn high(self) -> u32
[src]
fn high_as_low(high: u32) -> u32
[src]
fn from_parts(low: u32, high: u32) -> u64
[src]
impl LargeInt for u128
[src]
type LowHalf = u64
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.
type HighHalf = u64
🔬 This is a nightly-only experimental API. (compiler_builtins_lib
)
Compiler builtins. Will never become stable.