Primitive Type i64 [-] [+]

Operations and constants for signed 64-bits integers (i64 type)

Trait Implementations

impl Int for i64

fn zero() -> i64

fn one() -> i64

fn min_value() -> i64

fn max_value() -> i64

fn count_ones(self) -> usize

fn leading_zeros(self) -> usize

fn trailing_zeros(self) -> usize

fn rotate_left(self, n: usize) -> i64

fn rotate_right(self, n: usize) -> i64

fn swap_bytes(self) -> i64

fn checked_add(self, other: i64) -> Option<i64>

fn checked_sub(self, other: i64) -> Option<i64>

fn checked_mul(self, other: i64) -> Option<i64>

fn checked_div(self, v: i64) -> Option<i64>

fn count_zeros(self) -> usize

fn from_be(x: Self) -> Self

fn from_le(x: Self) -> Self

fn to_be(self) -> Self

fn to_le(self) -> Self

fn saturating_add(self, other: Self) -> Self

fn saturating_sub(self, other: Self) -> Self

fn pow(self, exp: usize) -> Self

impl SignedInt for i64

fn abs(self) -> i64

fn signum(self) -> i64

fn is_positive(self) -> bool

fn is_negative(self) -> bool

impl ToPrimitive for i64

fn to_int(&self) -> Option<isize>

fn to_i8(&self) -> Option<i8>

fn to_i16(&self) -> Option<i16>

fn to_i32(&self) -> Option<i32>

fn to_i64(&self) -> Option<i64>

fn to_uint(&self) -> Option<usize>

fn to_u8(&self) -> Option<u8>

fn to_u16(&self) -> Option<u16>

fn to_u32(&self) -> Option<u32>

fn to_u64(&self) -> Option<u64>

fn to_f32(&self) -> Option<f32>

fn to_f64(&self) -> Option<f64>

impl FromPrimitive for i64

fn from_int(n: isize) -> Option<i64>

fn from_i8(n: i8) -> Option<i64>

fn from_i16(n: i16) -> Option<i64>

fn from_i32(n: i32) -> Option<i64>

fn from_i64(n: i64) -> Option<i64>

fn from_uint(n: usize) -> Option<i64>

fn from_u8(n: u8) -> Option<i64>

fn from_u16(n: u16) -> Option<i64>

fn from_u32(n: u32) -> Option<i64>

fn from_u64(n: u64) -> Option<i64>

fn from_f32(n: f32) -> Option<i64>

fn from_f64(n: f64) -> Option<i64>

impl NumCast for i64

fn from<N: ToPrimitive>(n: N) -> Option<i64>

impl FromStr for i64

type Err = ParseIntError

fn from_str(src: &str) -> Result<i64, ParseIntError>

impl FromStrRadix for i64

type Err = ParseIntError

fn from_str_radix(src: &str, radix: u32) -> Result<i64, ParseIntError>

impl Zeroable for i64

impl Add for i64

type Output = i64

fn add(self, other: i64) -> i64

impl<'a> Add<i64> for &'a i64

type Output = <i64 as Add<i64>>::Output

fn add(self, other: i64) -> <i64 as Add<i64>>::Output

impl<'a> Add<&'a i64> for i64

type Output = <i64 as Add<i64>>::Output

fn add(self, other: &'a i64) -> <i64 as Add<i64>>::Output

impl<'a, 'b> Add<&'a i64> for &'b i64

type Output = <i64 as Add<i64>>::Output

fn add(self, other: &'a i64) -> <i64 as Add<i64>>::Output

impl Sub for i64

type Output = i64

fn sub(self, other: i64) -> i64

impl<'a> Sub<i64> for &'a i64

type Output = <i64 as Sub<i64>>::Output

fn sub(self, other: i64) -> <i64 as Sub<i64>>::Output

impl<'a> Sub<&'a i64> for i64

type Output = <i64 as Sub<i64>>::Output

fn sub(self, other: &'a i64) -> <i64 as Sub<i64>>::Output

impl<'a, 'b> Sub<&'a i64> for &'b i64

type Output = <i64 as Sub<i64>>::Output

fn sub(self, other: &'a i64) -> <i64 as Sub<i64>>::Output

impl Mul for i64

type Output = i64

fn mul(self, other: i64) -> i64

impl<'a> Mul<i64> for &'a i64

type Output = <i64 as Mul<i64>>::Output

fn mul(self, other: i64) -> <i64 as Mul<i64>>::Output

impl<'a> Mul<&'a i64> for i64

type Output = <i64 as Mul<i64>>::Output

fn mul(self, other: &'a i64) -> <i64 as Mul<i64>>::Output

impl<'a, 'b> Mul<&'a i64> for &'b i64

type Output = <i64 as Mul<i64>>::Output

fn mul(self, other: &'a i64) -> <i64 as Mul<i64>>::Output

impl Div for i64

type Output = i64

fn div(self, other: i64) -> i64

impl<'a> Div<i64> for &'a i64

type Output = <i64 as Div<i64>>::Output

fn div(self, other: i64) -> <i64 as Div<i64>>::Output

impl<'a> Div<&'a i64> for i64

type Output = <i64 as Div<i64>>::Output

fn div(self, other: &'a i64) -> <i64 as Div<i64>>::Output

impl<'a, 'b> Div<&'a i64> for &'b i64

type Output = <i64 as Div<i64>>::Output

fn div(self, other: &'a i64) -> <i64 as Div<i64>>::Output

impl Rem for i64

type Output = i64

fn rem(self, other: i64) -> i64

impl<'a> Rem<i64> for &'a i64

type Output = <i64 as Rem<i64>>::Output

fn rem(self, other: i64) -> <i64 as Rem<i64>>::Output

impl<'a> Rem<&'a i64> for i64

type Output = <i64 as Rem<i64>>::Output

fn rem(self, other: &'a i64) -> <i64 as Rem<i64>>::Output

impl<'a, 'b> Rem<&'a i64> for &'b i64

type Output = <i64 as Rem<i64>>::Output

fn rem(self, other: &'a i64) -> <i64 as Rem<i64>>::Output

impl Neg for i64

type Output = i64

fn neg(self) -> i64

impl<'a> Neg for &'a i64

type Output = <i64 as Neg>::Output

fn neg(self) -> <i64 as Neg>::Output

impl Not for i64

type Output = i64

fn not(self) -> i64

impl<'a> Not for &'a i64

type Output = <i64 as Not>::Output

fn not(self) -> <i64 as Not>::Output

impl BitAnd for i64

type Output = i64

fn bitand(self, rhs: i64) -> i64

impl<'a> BitAnd<i64> for &'a i64

type Output = <i64 as BitAnd<i64>>::Output

fn bitand(self, other: i64) -> <i64 as BitAnd<i64>>::Output

impl<'a> BitAnd<&'a i64> for i64

type Output = <i64 as BitAnd<i64>>::Output

fn bitand(self, other: &'a i64) -> <i64 as BitAnd<i64>>::Output

impl<'a, 'b> BitAnd<&'a i64> for &'b i64

type Output = <i64 as BitAnd<i64>>::Output

fn bitand(self, other: &'a i64) -> <i64 as BitAnd<i64>>::Output

impl BitOr for i64

type Output = i64

fn bitor(self, rhs: i64) -> i64

impl<'a> BitOr<i64> for &'a i64

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: i64) -> <i64 as BitOr<i64>>::Output

impl<'a> BitOr<&'a i64> for i64

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: &'a i64) -> <i64 as BitOr<i64>>::Output

impl<'a, 'b> BitOr<&'a i64> for &'b i64

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: &'a i64) -> <i64 as BitOr<i64>>::Output

impl BitXor for i64

type Output = i64

fn bitxor(self, other: i64) -> i64

impl<'a> BitXor<i64> for &'a i64

type Output = <i64 as BitXor<i64>>::Output

fn bitxor(self, other: i64) -> <i64 as BitXor<i64>>::Output

impl<'a> BitXor<&'a i64> for i64

type Output = <i64 as BitXor<i64>>::Output

fn bitxor(self, other: &'a i64) -> <i64 as BitXor<i64>>::Output

impl<'a, 'b> BitXor<&'a i64> for &'b i64

type Output = <i64 as BitXor<i64>>::Output

fn bitxor(self, other: &'a i64) -> <i64 as BitXor<i64>>::Output

impl Shl<u8> for i64

type Output = i64

fn shl(self, other: u8) -> i64

impl<'a> Shl<u8> for &'a i64

type Output = <i64 as Shl<u8>>::Output

fn shl(self, other: u8) -> <i64 as Shl<u8>>::Output

impl<'a> Shl<&'a u8> for i64

type Output = <i64 as Shl<u8>>::Output

fn shl(self, other: &'a u8) -> <i64 as Shl<u8>>::Output

impl<'a, 'b> Shl<&'a u8> for &'b i64

type Output = <i64 as Shl<u8>>::Output

fn shl(self, other: &'a u8) -> <i64 as Shl<u8>>::Output

impl Shl<u16> for i64

type Output = i64

fn shl(self, other: u16) -> i64

impl<'a> Shl<u16> for &'a i64

type Output = <i64 as Shl<u16>>::Output

fn shl(self, other: u16) -> <i64 as Shl<u16>>::Output

impl<'a> Shl<&'a u16> for i64

type Output = <i64 as Shl<u16>>::Output

fn shl(self, other: &'a u16) -> <i64 as Shl<u16>>::Output

impl<'a, 'b> Shl<&'a u16> for &'b i64

type Output = <i64 as Shl<u16>>::Output

fn shl(self, other: &'a u16) -> <i64 as Shl<u16>>::Output

impl Shl<u32> for i64

type Output = i64

fn shl(self, other: u32) -> i64

impl<'a> Shl<u32> for &'a i64

type Output = <i64 as Shl<u32>>::Output

fn shl(self, other: u32) -> <i64 as Shl<u32>>::Output

impl<'a> Shl<&'a u32> for i64

type Output = <i64 as Shl<u32>>::Output

fn shl(self, other: &'a u32) -> <i64 as Shl<u32>>::Output

impl<'a, 'b> Shl<&'a u32> for &'b i64

type Output = <i64 as Shl<u32>>::Output

fn shl(self, other: &'a u32) -> <i64 as Shl<u32>>::Output

impl Shl<u64> for i64

type Output = i64

fn shl(self, other: u64) -> i64

impl<'a> Shl<u64> for &'a i64

type Output = <i64 as Shl<u64>>::Output

fn shl(self, other: u64) -> <i64 as Shl<u64>>::Output

impl<'a> Shl<&'a u64> for i64

type Output = <i64 as Shl<u64>>::Output

fn shl(self, other: &'a u64) -> <i64 as Shl<u64>>::Output

impl<'a, 'b> Shl<&'a u64> for &'b i64

type Output = <i64 as Shl<u64>>::Output

fn shl(self, other: &'a u64) -> <i64 as Shl<u64>>::Output

impl Shl<usize> for i64

type Output = i64

fn shl(self, other: usize) -> i64

impl<'a> Shl<usize> for &'a i64

type Output = <i64 as Shl<usize>>::Output

fn shl(self, other: usize) -> <i64 as Shl<usize>>::Output

impl<'a> Shl<&'a usize> for i64

type Output = <i64 as Shl<usize>>::Output

fn shl(self, other: &'a usize) -> <i64 as Shl<usize>>::Output

impl<'a, 'b> Shl<&'a usize> for &'b i64

type Output = <i64 as Shl<usize>>::Output

fn shl(self, other: &'a usize) -> <i64 as Shl<usize>>::Output

impl Shl<i8> for i64

type Output = i64

fn shl(self, other: i8) -> i64

impl<'a> Shl<i8> for &'a i64

type Output = <i64 as Shl<i8>>::Output

fn shl(self, other: i8) -> <i64 as Shl<i8>>::Output

impl<'a> Shl<&'a i8> for i64

type Output = <i64 as Shl<i8>>::Output

fn shl(self, other: &'a i8) -> <i64 as Shl<i8>>::Output

impl<'a, 'b> Shl<&'a i8> for &'b i64

type Output = <i64 as Shl<i8>>::Output

fn shl(self, other: &'a i8) -> <i64 as Shl<i8>>::Output

impl Shl<i16> for i64

type Output = i64

fn shl(self, other: i16) -> i64

impl<'a> Shl<i16> for &'a i64

type Output = <i64 as Shl<i16>>::Output

fn shl(self, other: i16) -> <i64 as Shl<i16>>::Output

impl<'a> Shl<&'a i16> for i64

type Output = <i64 as Shl<i16>>::Output

fn shl(self, other: &'a i16) -> <i64 as Shl<i16>>::Output

impl<'a, 'b> Shl<&'a i16> for &'b i64

type Output = <i64 as Shl<i16>>::Output

fn shl(self, other: &'a i16) -> <i64 as Shl<i16>>::Output

impl Shl<i32> for i64

type Output = i64

fn shl(self, other: i32) -> i64

impl<'a> Shl<i32> for &'a i64

type Output = <i64 as Shl<i32>>::Output

fn shl(self, other: i32) -> <i64 as Shl<i32>>::Output

impl<'a> Shl<&'a i32> for i64

type Output = <i64 as Shl<i32>>::Output

fn shl(self, other: &'a i32) -> <i64 as Shl<i32>>::Output

impl<'a, 'b> Shl<&'a i32> for &'b i64

type Output = <i64 as Shl<i32>>::Output

fn shl(self, other: &'a i32) -> <i64 as Shl<i32>>::Output

impl Shl<i64> for i64

type Output = i64

fn shl(self, other: i64) -> i64

impl<'a> Shl<i64> for &'a i64

type Output = <i64 as Shl<i64>>::Output

fn shl(self, other: i64) -> <i64 as Shl<i64>>::Output

impl<'a> Shl<&'a i64> for i64

type Output = <i64 as Shl<i64>>::Output

fn shl(self, other: &'a i64) -> <i64 as Shl<i64>>::Output

impl<'a, 'b> Shl<&'a i64> for &'b i64

type Output = <i64 as Shl<i64>>::Output

fn shl(self, other: &'a i64) -> <i64 as Shl<i64>>::Output

impl Shl<isize> for i64

type Output = i64

fn shl(self, other: isize) -> i64

impl<'a> Shl<isize> for &'a i64

type Output = <i64 as Shl<isize>>::Output

fn shl(self, other: isize) -> <i64 as Shl<isize>>::Output

impl<'a> Shl<&'a isize> for i64

type Output = <i64 as Shl<isize>>::Output

fn shl(self, other: &'a isize) -> <i64 as Shl<isize>>::Output

impl<'a, 'b> Shl<&'a isize> for &'b i64

type Output = <i64 as Shl<isize>>::Output

fn shl(self, other: &'a isize) -> <i64 as Shl<isize>>::Output

impl Shr<u8> for i64

type Output = i64

fn shr(self, other: u8) -> i64

impl<'a> Shr<u8> for &'a i64

type Output = <i64 as Shr<u8>>::Output

fn shr(self, other: u8) -> <i64 as Shr<u8>>::Output

impl<'a> Shr<&'a u8> for i64

type Output = <i64 as Shr<u8>>::Output

fn shr(self, other: &'a u8) -> <i64 as Shr<u8>>::Output

impl<'a, 'b> Shr<&'a u8> for &'b i64

type Output = <i64 as Shr<u8>>::Output

fn shr(self, other: &'a u8) -> <i64 as Shr<u8>>::Output

impl Shr<u16> for i64

type Output = i64

fn shr(self, other: u16) -> i64

impl<'a> Shr<u16> for &'a i64

type Output = <i64 as Shr<u16>>::Output

fn shr(self, other: u16) -> <i64 as Shr<u16>>::Output

impl<'a> Shr<&'a u16> for i64

type Output = <i64 as Shr<u16>>::Output

fn shr(self, other: &'a u16) -> <i64 as Shr<u16>>::Output

impl<'a, 'b> Shr<&'a u16> for &'b i64

type Output = <i64 as Shr<u16>>::Output

fn shr(self, other: &'a u16) -> <i64 as Shr<u16>>::Output

impl Shr<u32> for i64

type Output = i64

fn shr(self, other: u32) -> i64

impl<'a> Shr<u32> for &'a i64

type Output = <i64 as Shr<u32>>::Output

fn shr(self, other: u32) -> <i64 as Shr<u32>>::Output

impl<'a> Shr<&'a u32> for i64

type Output = <i64 as Shr<u32>>::Output

fn shr(self, other: &'a u32) -> <i64 as Shr<u32>>::Output

impl<'a, 'b> Shr<&'a u32> for &'b i64

type Output = <i64 as Shr<u32>>::Output

fn shr(self, other: &'a u32) -> <i64 as Shr<u32>>::Output

impl Shr<u64> for i64

type Output = i64

fn shr(self, other: u64) -> i64

impl<'a> Shr<u64> for &'a i64

type Output = <i64 as Shr<u64>>::Output

fn shr(self, other: u64) -> <i64 as Shr<u64>>::Output

impl<'a> Shr<&'a u64> for i64

type Output = <i64 as Shr<u64>>::Output

fn shr(self, other: &'a u64) -> <i64 as Shr<u64>>::Output

impl<'a, 'b> Shr<&'a u64> for &'b i64

type Output = <i64 as Shr<u64>>::Output

fn shr(self, other: &'a u64) -> <i64 as Shr<u64>>::Output

impl Shr<usize> for i64

type Output = i64

fn shr(self, other: usize) -> i64

impl<'a> Shr<usize> for &'a i64

type Output = <i64 as Shr<usize>>::Output

fn shr(self, other: usize) -> <i64 as Shr<usize>>::Output

impl<'a> Shr<&'a usize> for i64

type Output = <i64 as Shr<usize>>::Output

fn shr(self, other: &'a usize) -> <i64 as Shr<usize>>::Output

impl<'a, 'b> Shr<&'a usize> for &'b i64

type Output = <i64 as Shr<usize>>::Output

fn shr(self, other: &'a usize) -> <i64 as Shr<usize>>::Output

impl Shr<i8> for i64

type Output = i64

fn shr(self, other: i8) -> i64

impl<'a> Shr<i8> for &'a i64

type Output = <i64 as Shr<i8>>::Output

fn shr(self, other: i8) -> <i64 as Shr<i8>>::Output

impl<'a> Shr<&'a i8> for i64

type Output = <i64 as Shr<i8>>::Output

fn shr(self, other: &'a i8) -> <i64 as Shr<i8>>::Output

impl<'a, 'b> Shr<&'a i8> for &'b i64

type Output = <i64 as Shr<i8>>::Output

fn shr(self, other: &'a i8) -> <i64 as Shr<i8>>::Output

impl Shr<i16> for i64

type Output = i64

fn shr(self, other: i16) -> i64

impl<'a> Shr<i16> for &'a i64

type Output = <i64 as Shr<i16>>::Output

fn shr(self, other: i16) -> <i64 as Shr<i16>>::Output

impl<'a> Shr<&'a i16> for i64

type Output = <i64 as Shr<i16>>::Output

fn shr(self, other: &'a i16) -> <i64 as Shr<i16>>::Output

impl<'a, 'b> Shr<&'a i16> for &'b i64

type Output = <i64 as Shr<i16>>::Output

fn shr(self, other: &'a i16) -> <i64 as Shr<i16>>::Output

impl Shr<i32> for i64

type Output = i64

fn shr(self, other: i32) -> i64

impl<'a> Shr<i32> for &'a i64

type Output = <i64 as Shr<i32>>::Output

fn shr(self, other: i32) -> <i64 as Shr<i32>>::Output

impl<'a> Shr<&'a i32> for i64

type Output = <i64 as Shr<i32>>::Output

fn shr(self, other: &'a i32) -> <i64 as Shr<i32>>::Output

impl<'a, 'b> Shr<&'a i32> for &'b i64

type Output = <i64 as Shr<i32>>::Output

fn shr(self, other: &'a i32) -> <i64 as Shr<i32>>::Output

impl Shr<i64> for i64

type Output = i64

fn shr(self, other: i64) -> i64

impl<'a> Shr<i64> for &'a i64

type Output = <i64 as Shr<i64>>::Output

fn shr(self, other: i64) -> <i64 as Shr<i64>>::Output

impl<'a> Shr<&'a i64> for i64

type Output = <i64 as Shr<i64>>::Output

fn shr(self, other: &'a i64) -> <i64 as Shr<i64>>::Output

impl<'a, 'b> Shr<&'a i64> for &'b i64

type Output = <i64 as Shr<i64>>::Output

fn shr(self, other: &'a i64) -> <i64 as Shr<i64>>::Output

impl Shr<isize> for i64

type Output = i64

fn shr(self, other: isize) -> i64

impl<'a> Shr<isize> for &'a i64

type Output = <i64 as Shr<isize>>::Output

fn shr(self, other: isize) -> <i64 as Shr<isize>>::Output

impl<'a> Shr<&'a isize> for i64

type Output = <i64 as Shr<isize>>::Output

fn shr(self, other: &'a isize) -> <i64 as Shr<isize>>::Output

impl<'a, 'b> Shr<&'a isize> for &'b i64

type Output = <i64 as Shr<isize>>::Output

fn shr(self, other: &'a isize) -> <i64 as Shr<isize>>::Output

impl PartialEq for i64

fn eq(&self, other: &i64) -> bool

fn ne(&self, other: &i64) -> bool

impl Eq for i64

impl PartialOrd for i64

fn partial_cmp(&self, other: &i64) -> Option<Ordering>

fn lt(&self, other: &i64) -> bool

fn le(&self, other: &i64) -> bool

fn ge(&self, other: &i64) -> bool

fn gt(&self, other: &i64) -> bool

impl Ord for i64

fn cmp(&self, other: &i64) -> Ordering

impl Clone for i64

fn clone(&self) -> i64

Return a deep copy of the value.

fn clone_from(&mut self, source: &Self)

impl Default for i64

fn default() -> i64

impl Hash for i64

fn hash<H: Hasher>(&self, state: &mut H)

fn hash_slice<H: Hasher>(data: &[i64], state: &mut H)

impl Display for i64

fn fmt(&self, f: &mut Formatter) -> Result

impl Binary for i64

fn fmt(&self, f: &mut Formatter) -> Result

impl Octal for i64

fn fmt(&self, f: &mut Formatter) -> Result

impl LowerHex for i64

fn fmt(&self, f: &mut Formatter) -> Result

impl UpperHex for i64

fn fmt(&self, f: &mut Formatter) -> Result

impl Debug for i64

fn fmt(&self, f: &mut Formatter) -> Result