u32::to_ne_bytes
pub const fn to_ne_bytes(self) -> [u8; 4]
- Kind
- method
- Module
std::primitive- Since
- 1.32.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 to_ne_bytes(self) -> [u8; 4]
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 u32: 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) -> 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 unbounded_shr(self, rhs: u32) -> u32
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: u32) -> u32
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<u32>
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: u32) -> u32
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: u32) -> u32
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: u32, n: u32) -> u32
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: u32, n: u32) -> u32
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: u32) -> u32
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) -> u32
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) -> u32
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) -> u32
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) -> u32
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: u32) -> 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 widen<Target>(self) -> Target where u32: 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: u32) -> u64
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: u32) -> u64
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: u32) -> 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 wrapping_add_signed(self, rhs: i32) -> 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 wrapping_cast<T>(self) -> T where T: BoundedCastFromInt<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 wrapping_div(self, rhs: u32) -> 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 wrapping_div_euclid(self, rhs: u32) -> 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 wrapping_mul(self, rhs: u32) -> 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 wrapping_neg(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 wrapping_next_power_of_two(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 wrapping_pow(self, exp: u32) -> 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 wrapping_rem(self, rhs: u32) -> 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 wrapping_rem_euclid(self, rhs: u32) -> 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 wrapping_shl(self, rhs: u32) -> 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 wrapping_shr(self, rhs: u32) -> 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 wrapping_sub(self, rhs: u32) -> 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 wrapping_sub_signed(self, rhs: i32) -> u32
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: u64) -> u64
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: u64, borrow: bool) -> (u64, 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: u64, carry: bool) -> (u64, 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: u64, carry: u64) -> (u64, u64)
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: u64, carry: u64) -> (u64, u64)
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: u64, carry: u64, add: u64) -> (u64, u64)
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: u64) -> u64
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) -> i64
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: u64) -> Option<u64>
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: i64) -> Option<u64>
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<u64>
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<i64>
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: u64) -> Option<u64>
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: u64) -> Option<u64>
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: u64) -> Option<u64>
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: u64) -> 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: u64) -> Option<u64>
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<u64>
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: u64) -> Option<u64>
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<u64>
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<u64>
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: u64) -> Option<u64>
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: u64) -> Option<u64>
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<u64>
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<u64>
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: u64) -> Option<i64>
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: u64) -> Option<u64>
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: i64) -> Option<u64>
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 u64: 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: u64) -> u64
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: u64) -> u64
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: u64) -> u64
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: u64) -> Option<u64>
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: u64) -> u64
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: u64) -> u64
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<u64>) -> &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<u64, 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<u64, 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: u64) -> u64
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; 8]) -> u64
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: u64) -> u64
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; 8]) -> u64
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; 8]) -> u64
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<u64, 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: u64, n: u32) -> u64
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: u64, n: u32) -> u64
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: u64) -> 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: u64) -> 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) -> u64
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) -> u64
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) -> u64
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: u64
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() -> u64
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: u64) -> u64
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const MIN: u64 = 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() -> u64
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: u64) -> u64
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) -> u64
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: u64) -> (u64, 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: i64) -> (u64, 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: u64) -> (u64, 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: u64) -> (u64, 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: u64) -> (u64, 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) -> (u64, 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) -> (u64, 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: u64) -> (u64, 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: u64) -> (u64, 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) -> (u64, 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) -> (u64, 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: u64) -> (u64, 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: i64) -> (u64, 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) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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: i64) -> u64
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<u64>
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) -> i64
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: u64) -> u64
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: u64) -> u64
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) -> u64
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: u64) -> u64
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: i64) -> u64
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 u64: 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<u64>
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<u64>
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: u64) -> u64
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: i64) -> u64
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<u64>
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) -> i64
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: u64) -> u64
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: u64) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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: i64) -> u64
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) -> u64
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) -> u64
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; 8]
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) -> u64
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; 8]
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; 8]
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 u64: 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) -> u64
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) -> u64
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: u64) -> u64
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<u64>
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: u64) -> u64
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: u64) -> u64
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: u64, n: u32) -> u64
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: u64, n: u32) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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 u64: 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: u64) -> u128
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: u64) -> u128
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: u64) -> u64
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: i64) -> u64
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<u64>
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: u64) -> u64
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: u64) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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: u64) -> u64
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) -> u64
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) -> u64
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: u64) -> u64
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: i64) -> u64
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: u128) -> u128
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: u128, borrow: bool) -> (u128, 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: u128, carry: bool) -> (u128, bool)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.