Primitive Type int
[-]
[+]
Operations and constants for architecture-sized signed integers (int
type)
Operations and constants for architecture-sized signed integers (int
type)
impl Int for int
fn zero() -> int
fn one() -> int
fn min_value() -> int
fn max_value() -> int
fn count_ones(self) -> uint
fn leading_zeros(self) -> uint
fn trailing_zeros(self) -> uint
fn rotate_left(self, n: uint) -> int
fn rotate_right(self, n: uint) -> int
fn swap_bytes(self) -> int
fn checked_add(self, other: int) -> Option<int>
fn checked_sub(self, other: int) -> Option<int>
fn checked_mul(self, other: int) -> Option<int>
fn checked_div(self, v: int) -> Option<int>
fn count_zeros(self) -> uint
fn from_be(int) -> int
fn from_le(int) -> int
fn to_be(self) -> int
fn to_le(self) -> int
fn saturating_add(self, int) -> int
fn saturating_sub(self, int) -> int
fn pow(self, uint) -> int
impl SignedInt for int
fn abs(self) -> int
fn signum(self) -> int
fn is_positive(self) -> bool
fn is_negative(self) -> bool
impl ToPrimitive for int
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>
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_uint(&self) -> Option<uint>
fn to_u8(&self) -> Option<u8>
fn to_u16(&self) -> Option<u16>
fn to_u32(&self) -> Option<u32>
fn to_f32(&self) -> Option<f32>
fn to_f64(&self) -> Option<f64>
impl FromPrimitive for int
fn from_int(n: int) -> Option<int>
fn from_i8(n: i8) -> Option<int>
fn from_i16(n: i16) -> Option<int>
fn from_i32(n: i32) -> Option<int>
fn from_i64(n: i64) -> Option<int>
fn from_uint(n: uint) -> Option<int>
fn from_u8(n: u8) -> Option<int>
fn from_u16(n: u16) -> Option<int>
fn from_u32(n: u32) -> Option<int>
fn from_u64(n: u64) -> Option<int>
fn from_f32(n: f32) -> Option<int>
fn from_f64(n: f64) -> Option<int>
fn from_int(int) -> Option<int>
fn from_i8(i8) -> Option<int>
fn from_i16(i16) -> Option<int>
fn from_i32(i32) -> Option<int>
fn from_uint(uint) -> Option<int>
fn from_u8(u8) -> Option<int>
fn from_u16(u16) -> Option<int>
fn from_u32(u32) -> Option<int>
fn from_f32(f32) -> Option<int>
fn from_f64(f64) -> Option<int>
impl NumCast for int
fn from<N: ToPrimitive>(n: N) -> Option<int>
impl FromStr for int
impl FromStrRadix for int
fn from_str_radix(src: &str, radix: uint) -> Option<int>
impl Num for int
impl Primitive for int
impl Zero for int
impl One for int
impl Bounded for int
impl Zeroable for int
impl Add<int, int> for int
impl Sub<int, int> for int
impl Mul<int, int> for int
impl Div<int, int> for int
impl Rem<int, int> for int
impl Neg<int> for int
impl Not<int> for int
impl BitAnd<int, int> for int
impl BitOr<int, int> for int
impl BitXor<int, int> for int
impl Shl<uint, int> for int
impl Shr<uint, int> for int
impl PartialEq<int> for int
impl Eq for int
fn assert_receiver_is_total_eq(&self)
impl PartialOrd<int> for int
fn partial_cmp(&self, other: &int) -> Option<Ordering>
fn lt(&self, other: &int) -> bool
fn le(&self, other: &int) -> bool
fn ge(&self, other: &int) -> bool
fn gt(&self, other: &int) -> bool
fn lt(&self, &int) -> bool
fn le(&self, &int) -> bool
fn gt(&self, &int) -> bool
fn ge(&self, &int) -> bool
impl Ord for int
impl Clone for int
impl Default for int
impl Step for int
impl<S: Writer> Hash<S> for int
fn hash(&self, state: &mut S)
impl Show for int
impl Binary for int
impl Octal for int
impl LowerHex for int
impl UpperHex for int
impl SampleRange for int
fn construct_range(low: int, high: int) -> Range<int>
fn sample_range<R: Rng>(r: &Range<int>, rng: &mut R) -> int
impl Rand for int
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).