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) -> uint

fn leading_zeros(self) -> uint

fn trailing_zeros(self) -> uint

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

fn rotate_right(self, n: uint) -> 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) -> uint

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: uint) -> 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<int>

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<uint>

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: int) -> 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: uint) -> 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

fn from_str(src: &str) -> Option<i64>

impl FromStrRadix for i64

fn from_str_radix(src: &str, radix: uint) -> Option<i64>

impl Num for i64

impl Primitive for i64

impl Zero for i64

fn zero() -> i64

fn is_zero(&self) -> bool

impl One for i64

fn one() -> i64

impl Bounded for i64

fn min_value() -> i64

fn max_value() -> i64

impl Zeroable for i64

impl Add<i64, i64> for i64

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

impl Sub<i64, i64> for i64

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

impl Mul<i64, i64> for i64

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

impl Div<i64, i64> for i64

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

impl Rem<i64, i64> for i64

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

impl Neg<i64> for i64

fn neg(self) -> i64

impl Not<i64> for i64

fn not(self) -> i64

impl BitAnd<i64, i64> for i64

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

impl BitOr<i64, i64> for i64

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

impl BitXor<i64, i64> for i64

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

impl Shl<uint, i64> for i64

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

impl Shr<uint, i64> for i64

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

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 Step for i64

fn step(&mut self)

fn step_back(&mut self)

fn steps_between(a: &i64, b: &i64) -> Option<uint>

impl<S: Writer> Hash<S> for i64

fn hash(&self, state: &mut S)

impl Show 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