rok::core::num::ints::impl i64
impl i64
pub const MIN: i64 = -9223372036854775807 - 1pub const MAX: i64 = 9223372036854775807pub const BITS: u32 = 64pub const fn wrapping_add(self, rhs: i64) -> i64pub const fn wrapping_sub(self, rhs: i64) -> i64pub const fn wrapping_mul(self, rhs: i64) -> i64pub const fn count_ones(self) -> u32pub const fn count_zeros(self) -> u32pub const fn leading_zeros(self) -> u32pub const fn trailing_zeros(self) -> u32pub const fn leading_ones(self) -> u32pub const fn trailing_ones(self) -> u32pub const fn rotate_left(self, n: u32) -> i64pub const fn rotate_right(self, n: u32) -> i64pub const fn swap_bytes(self) -> i64pub const fn to_be(self) -> i64pub const fn to_le(self) -> i64pub const fn from_be(x: i64) -> i64pub const fn from_le(x: i64) -> i64pub const fn to_le_bytes(self) -> [u8; 8]pub const fn to_be_bytes(self) -> [u8; 8]pub const fn to_ne_bytes(self) -> [u8; 8]pub const fn from_le_bytes(bytes: [u8; 8]) -> i64pub const fn from_be_bytes(bytes: [u8; 8]) -> i64pub const fn from_ne_bytes(bytes: [u8; 8]) -> i64pub const fn checked_add(self, rhs: i64) -> i64 | nonepub const fn checked_sub(self, rhs: i64) -> i64 | nonepub const fn checked_mul(self, rhs: i64) -> i64 | nonepub const fn checked_div(self, rhs: i64) -> i64 | nonepub const fn checked_rem(self, rhs: i64) -> i64 | nonepub const fn checked_neg(self) -> i64 | nonepub const fn checked_shl(self, n: u32) -> i64 | nonepub const fn checked_shr(self, n: u32) -> i64 | nonepub const fn checked_pow(self, exp: u32) -> i64 | nonepub const fn wrapping_div(self, rhs: i64) -> i64pub const fn wrapping_rem(self, rhs: i64) -> i64pub const fn wrapping_neg(self) -> i64pub const fn wrapping_shl(self, n: u32) -> i64pub const fn wrapping_shr(self, n: u32) -> i64pub const fn wrapping_pow(self, exp: u32) -> i64pub const fn saturating_add(self, rhs: i64) -> i64pub const fn saturating_sub(self, rhs: i64) -> i64pub const fn saturating_mul(self, rhs: i64) -> i64pub const fn saturating_neg(self) -> i64pub const fn saturating_pow(self, exp: u32) -> i64pub const fn overflowing_add(self, rhs: i64) -> (i64, bool)pub const fn overflowing_sub(self, rhs: i64) -> (i64, bool)pub const fn overflowing_mul(self, rhs: i64) -> (i64, bool)pub const fn overflowing_div(self, rhs: i64) -> (i64, bool)pub const fn overflowing_rem(self, rhs: i64) -> (i64, bool)pub const fn overflowing_neg(self) -> (i64, bool)pub const fn overflowing_shl(self, n: u32) -> (i64, bool)pub const fn overflowing_shr(self, n: u32) -> (i64, bool)pub const fn overflowing_pow(self, exp: u32) -> (i64, bool)pub const fn pow(self, exp: u32) -> i64selfto theexp; overflow is the arithmetic's (panic in debug, wrap in release).pub const fn abs(self) -> i64pub const fn checked_abs(self) -> i64 | nonepub const fn wrapping_abs(self) -> i64pub const fn saturating_abs(self) -> i64pub const fn unsigned_abs(self) -> u64pub const fn abs_diff(self, rhs: i64) -> u64pub const fn signum(self) -> i64-1,0or1.pub const fn is_positive(self) -> boolpub const fn is_negative(self) -> boolpub const fn div_euclid(self, rhs: i64) -> i64Quotient rounded so that
rem_euclidis never negative.pub const fn rem_euclid(self, rhs: i64) -> i64The remainder in
0..rhs.abs().pub const fn isqrt(self) -> i64Integer square root; panics on a negative number.
pub const fn checked_isqrt(self) -> i64 | nonepub const fn ilog2(self) -> u32floor(log2(self)); panics unlessself > 0.pub const fn ilog10(self) -> u32pub const fn ilog(self, base: i64) -> u32pub const fn checked_ilog2(self) -> u32 | nonepub const fn checked_ilog10(self) -> u32 | nonepub const fn checked_ilog(self, base: i64) -> u32 | none