u8::ilog2
pub const fn ilog2(self) -> u32
- Kind
- method
- Module
std::primitive- Since
- 1.67.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::primitive in the Rust reference. This page has 2,707 cards.
pub const fn ilog2(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ilog10(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_alphabetic(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_alphanumeric(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_control(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_digit(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_graphic(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_hexdigit(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_lowercase(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_octdigit(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_punctuation(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_uppercase(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii_whitespace(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_multiple_of(self, rhs: u8) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_power_of_two(self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isolate_highest_one(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isolate_lowest_one(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isqrt(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn leading_ones(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn leading_zeros(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn lowest_one(self) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn make_ascii_lowercase(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn make_ascii_uppercase(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const MAX: u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn max_value() -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn midpoint(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const MIN: u8 = 0
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn min_value() -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn next_multiple_of(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn next_power_of_two(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_add(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_add_signed(self, rhs: i8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_div(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_div_euclid(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_mul(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_neg(self) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_pow(self, exp: u32) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_rem(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_rem_euclid(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_shl(self, rhs: u32) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_shr(self, rhs: u32) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_sub(self, rhs: u8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_sub_signed(self, rhs: i8) -> (u8, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn pow(self, exp: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn rem_euclid(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn reverse_bits(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn rotate_left(self, n: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn rotate_right(self, n: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_add(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_add_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_cast<T>(self) -> T where T: BoundedCastFromInt<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_cast_signed(self) -> i8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_div(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_mul(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_pow(self, exp: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_sub(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_sub_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn saturating_truncate<Target>(self) -> Target where u8: TruncateTarget<Target>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn shl_exact(self, rhs: u32) -> Option<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn shr_exact(self, rhs: u32) -> Option<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_add(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_add_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_cast<T>(self) -> T where T: CheckedCastFromInt<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_cast_signed(self) -> i8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_div(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_div_euclid(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_mul(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_neg(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_pow(self, exp: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_rem(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_rem_euclid(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_shl(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_shr(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_sub(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn strict_sub_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn swap_bytes(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ascii_lowercase(&self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ascii_uppercase(&self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_be(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_be_bytes(self) -> [u8; 1]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_le(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_le_bytes(self) -> [u8; 1]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ne_bytes(self) -> [u8; 1]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn trailing_ones(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn trailing_zeros(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn truncate<Target>(self) -> Target where u8: TruncateTarget<Target>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn unbounded_shl(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn unbounded_shr(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_add(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_cast<T>(self) -> T where T: CheckedCastFromInt<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_disjoint_bitor(self, other: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_div_exact(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_funnel_shl(self, low: u8, n: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_funnel_shr(self, low: u8, n: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_mul(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_shl(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_shl_exact(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_shr(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_shr_exact(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unchecked_sub(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn widen<Target>(self) -> Target where u8: WidenTarget<Target>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn widening_carryless_mul(self, rhs: u8) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn widening_mul(self, rhs: u8) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_add(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_add_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_cast<T>(self) -> T where T: BoundedCastFromInt<u8>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_div(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_div_euclid(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_mul(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_neg(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_next_power_of_two(self) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_pow(self, exp: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_rem(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_rem_euclid(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_shl(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_shr(self, rhs: u32) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_sub(self, rhs: u8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_sub_signed(self, rhs: i8) -> u8
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn abs_diff(self, other: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn bit_width(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const BITS: u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn borrowing_sub(self, rhs: u16, borrow: bool) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn carrying_add(self, rhs: u16, carry: bool) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn carrying_carryless_mul(self, rhs: u16, carry: u16) -> (u16, u16)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn carrying_mul(self, rhs: u16, carry: u16) -> (u16, u16)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn carrying_mul_add(self, rhs: u16, carry: u16, add: u16) -> (u16, u16)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn carryless_mul(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_signed(self) -> i16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_add(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_add_signed(self, rhs: i16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_cast<T>(self) -> Option<T> where T: CheckedCastFromInt<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_cast_signed(self) -> Option<i16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_div(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_div_euclid(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_div_exact(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_ilog(self, base: u16) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_ilog2(self) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_ilog10(self) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_mul(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_neg(self) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_next_multiple_of(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_next_power_of_two(self) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_pow(self, exp: u32) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_rem(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_rem_euclid(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_shl(self, rhs: u32) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_shr(self, rhs: u32) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_signed_diff(self, rhs: u16) -> Option<i16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_sub(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_sub_signed(self, rhs: i16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn checked_truncate<Target>(self) -> Option<Target> where u16: TruncateTarget<Target>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn count_ones(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn count_zeros(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn deposit_bits(self, mask: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn div_ceil(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn div_euclid(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn div_exact(self, rhs: u16) -> Option<u16>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn div_floor(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn extract_bits(self, mask: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn format_into(self, buf: &mut NumBuffer<u16>) -> &str
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_ascii(src: &[u8]) -> Result<u16, ParseIntError>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_ascii_radix( src: &[u8], radix: u32, ) -> Result<u16, ParseIntError>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_be(x: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_be_bytes(bytes: [u8; 2]) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_le(x: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_le_bytes(bytes: [u8; 2]) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_ne_bytes(bytes: [u8; 2]) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_str_radix(src: &str, radix: u32) -> Result<u16, ParseIntError>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn funnel_shl(self, rhs: u16, n: u32) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn funnel_shr(self, rhs: u16, n: u32) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn highest_one(self) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ilog(self, base: u16) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ilog2(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ilog10(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_multiple_of(self, rhs: u16) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_power_of_two(self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_utf16_surrogate(self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isolate_highest_one(self) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isolate_lowest_one(self) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn isqrt(self) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn leading_ones(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn leading_zeros(self) -> u32
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn lowest_one(self) -> Option<u32>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const MAX: u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn max_value() -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn midpoint(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const MIN: u16 = 0
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn min_value() -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn next_multiple_of(self, rhs: u16) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn next_power_of_two(self) -> u16
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_add(self, rhs: u16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_add_signed(self, rhs: i16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_div(self, rhs: u16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_div_euclid(self, rhs: u16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_mul(self, rhs: u16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_neg(self) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_pow(self, exp: u32) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn overflowing_rem(self, rhs: u16) -> (u16, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.