Primitive Type u16Unstable
Operations and constants for unsigned 16-bits integers (u16 type)
Operations and constants for unsigned 16-bits integers (u16 type)
impl Num for u16impl Zero for u16impl One for u16impl Unsigned for u16impl Bounded for u16impl Primitive for u16impl Int for u16fn count_ones(self) -> u16fn leading_zeros(self) -> u16fn trailing_zeros(self) -> u16fn rotate_left(self, n: uint) -> u16fn rotate_right(self, n: uint) -> u16fn swap_bytes(self) -> u16fn count_zeros(self) -> Selffn from_be(x: Self) -> Selffn from_le(x: Self) -> Selffn to_be(self) -> Selffn to_le(self) -> Selfimpl ToPrimitive for u16fn 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 u16fn from_int(n: int) -> Option<u16>fn from_i8(n: i8) -> Option<u16>fn from_i16(n: i16) -> Option<u16>fn from_i32(n: i32) -> Option<u16>fn from_i64(n: i64) -> Option<u16>fn from_uint(n: uint) -> Option<u16>fn from_u8(n: u8) -> Option<u16>fn from_u16(n: u16) -> Option<u16>fn from_u32(n: u32) -> Option<u16>fn from_u64(n: u64) -> Option<u16>fn from_f32(n: f32) -> Option<u16>fn from_f64(n: f64) -> Option<u16>impl NumCast for u16fn from<N: ToPrimitive>(n: N) -> Option<u16>impl CheckedAdd for u16fn checked_add(&self, v: &u16) -> Option<u16>impl CheckedSub for u16fn checked_sub(&self, v: &u16) -> Option<u16>impl CheckedMul for u16fn checked_mul(&self, v: &u16) -> Option<u16>impl CheckedDiv for u16fn checked_div(&self, v: &u16) -> Option<u16>impl Add<u16, u16> for u16impl Sub<u16, u16> for u16impl Mul<u16, u16> for u16impl Div<u16, u16> for u16impl Rem<u16, u16> for u16impl Neg<u16> for u16impl Not<u16> for u16impl BitAnd<u16, u16> for u16impl BitOr<u16, u16> for u16impl BitXor<u16, u16> for u16impl Shl<u16, u16> for u16impl Shr<u16, u16> for u16impl PartialEq for u16impl Eq for u16impl PartialOrd for u16fn lt(&self, other: &u16) -> boolfn le(&self, other: &u16) -> boolfn ge(&self, other: &u16) -> boolfn gt(&self, other: &u16) -> boolimpl Ord for u16impl Clone for u16impl Default for u16impl Show for u16impl Unsigned for u16impl Binary for u16impl Octal for u16impl LowerHex for u16impl UpperHex for u16
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 (or str), enum,
trait, typedef (or
tdef).