(function() { var type_impls = Object.fromEntries([["catalog",[["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Add<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&'a BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Add<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","catalog::process_manager::ProcessId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","catalog::process_manager::ProcessId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","catalog::process_manager::ProcessId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","catalog::process_manager::ProcessId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","catalog::process_manager::ProcessId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","catalog::process_manager::ProcessId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","catalog::process_manager::ProcessId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","catalog::process_manager::ProcessId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","catalog::process_manager::ProcessId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","catalog::process_manager::ProcessId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","catalog::process_manager::ProcessId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","catalog::process_manager::ProcessId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","catalog::process_manager::ProcessId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","catalog::process_manager::ProcessId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","catalog::process_manager::ProcessId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","catalog::process_manager::ProcessId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","catalog::process_manager::ProcessId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","catalog::process_manager::ProcessId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","catalog::process_manager::ProcessId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","catalog::process_manager::ProcessId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","catalog::process_manager::ProcessId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","catalog::process_manager::ProcessId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","catalog::process_manager::ProcessId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","catalog::process_manager::ProcessId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","catalog::process_manager::ProcessId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","catalog::process_manager::ProcessId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","catalog::process_manager::ProcessId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","catalog::process_manager::ProcessId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","catalog::process_manager::ProcessId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","catalog::process_manager::ProcessId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","catalog::process_manager::ProcessId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","catalog::process_manager::ProcessId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","catalog::process_manager::ProcessId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","catalog::process_manager::ProcessId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","catalog::process_manager::ProcessId"],["
§

impl Contiguous for u32

§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
§

type Int = u32

The primitive integer type with an identical representation to this\ntype. Read more
§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type,\nreturns Some(converted_value), otherwise, returns None. Read more
§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This\nmostly exists otherwise generic code would need unsafe for the value as integer Read more
","Contiguous","catalog::process_manager::ProcessId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","catalog::process_manager::ProcessId"],["
§

impl Decode<'_, MySql> for u32

§

fn decode(value: MySqlValueRef<'_>) -> Result<u32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'_, MySql>","catalog::process_manager::ProcessId"],["
§

impl<'a> DecodeValue<'a> for u32

§

fn decode_value<R>(reader: &mut R, header: Header) -> Result<u32, Error>
where\n R: Reader<'a>,

Attempt to decode this message using the provided [Reader].
","DecodeValue<'a>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","catalog::process_manager::ProcessId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","catalog::process_manager::ProcessId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","catalog::process_manager::ProcessId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Div<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&'a BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Div<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","catalog::process_manager::ProcessId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","catalog::process_manager::ProcessId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","catalog::process_manager::ProcessId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","catalog::process_manager::ProcessId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","catalog::process_manager::ProcessId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","catalog::process_manager::ProcessId"],["
§

impl Encode<'_, MySql> for u32

§

fn encode_by_ref(\n &self,\n buf: &mut Vec<u8>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, MySql>","catalog::process_manager::ProcessId"],["
§

impl EncodeValue for u32

§

fn value_len(&self) -> Result<Length, Error>

Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
§

fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
§

fn header(&self) -> Result<Header, Error>
where\n Self: Tagged,

Get the [Header] used to encode this value.
","EncodeValue","catalog::process_manager::ProcessId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","catalog::process_manager::ProcessId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","catalog::process_manager::ProcessId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","catalog::process_manager::ProcessId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","catalog::process_manager::ProcessId"],["
§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

ASN.1 tag
","FixedTag","catalog::process_manager::ProcessId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","catalog::process_manager::ProcessId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","catalog::process_manager::ProcessId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","catalog::process_manager::ProcessId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","catalog::process_manager::ProcessId"],["
§

impl From<Length> for u32

§

fn from(length: Length) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","catalog::process_manager::ProcessId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","catalog::process_manager::ProcessId"],["
§

impl<T> From<PIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: PIdx<T>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl<T> From<RIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: RIdx<T>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl<T> From<SIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: SIdx<T>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl<T> From<StIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: StIdx<T>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","catalog::process_manager::ProcessId"],["
§

impl<T> From<TIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: TIdx<T>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","catalog::process_manager::ProcessId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","catalog::process_manager::ProcessId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","catalog::process_manager::ProcessId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","catalog::process_manager::ProcessId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","catalog::process_manager::ProcessId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","catalog::process_manager::ProcessId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","catalog::process_manager::ProcessId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","catalog::process_manager::ProcessId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","catalog::process_manager::ProcessId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","catalog::process_manager::ProcessId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","catalog::process_manager::ProcessId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","catalog::process_manager::ProcessId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","catalog::process_manager::ProcessId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","catalog::process_manager::ProcessId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","catalog::process_manager::ProcessId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","catalog::process_manager::ProcessId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","catalog::process_manager::ProcessId"],["
Source§

impl IdentFragment for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format this value as an identifier fragment.
Source§

fn span(&self) -> Option<Span>

Span associated with this IdentFragment. Read more
","IdentFragment","catalog::process_manager::ProcessId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","catalog::process_manager::ProcessId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","catalog::process_manager::ProcessId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","catalog::process_manager::ProcessId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","catalog::process_manager::ProcessId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","catalog::process_manager::ProcessId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","catalog::process_manager::ProcessId"],["
Source§

impl IntoBigInt for u32

Source§

fn into_bigint(self) -> Option<BigInt>

Converts the value of self to a BigInt.
","IntoBigInt","catalog::process_manager::ProcessId"],["
Source§

impl IntoBigUint for u32

Source§

fn into_biguint(self) -> Option<BigUint>

Converts the value of self to a BigUint.
","IntoBigUint","catalog::process_manager::ProcessId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","catalog::process_manager::ProcessId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","catalog::process_manager::ProcessId"],["
§

impl IntoNotification for u32

§

type Tag = ()

The tag data associated with a notification. Read more
§

type Notify = Notify

The notification type. Read more
§

fn into_notification(self) -> <u32 as IntoNotification>::Notify

Convert this value into a notification. Read more
§

fn additional(self) -> Additional<Self::Notify>
where\n Self: Sized,

Convert this value into an additional notification. Read more
§

fn relaxed(self) -> Relaxed<Self::Notify>
where\n Self: Sized,

Don’t emit a fence for this notification. Read more
§

fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

Use a tag with this notification. Read more
§

fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

Use a function to generate a tag with this notification. Read more
","IntoNotification","catalog::process_manager::ProcessId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","catalog::process_manager::ProcessId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","catalog::process_manager::ProcessId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","catalog::process_manager::ProcessId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","catalog::process_manager::ProcessId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","catalog::process_manager::ProcessId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Mul<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&'a BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Mul<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","catalog::process_manager::ProcessId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","catalog::process_manager::ProcessId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","catalog::process_manager::ProcessId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","catalog::process_manager::ProcessId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","catalog::process_manager::ProcessId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","catalog::process_manager::ProcessId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","catalog::process_manager::ProcessId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","catalog::process_manager::ProcessId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","catalog::process_manager::ProcessId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","catalog::process_manager::ProcessId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","catalog::process_manager::ProcessId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","catalog::process_manager::ProcessId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","catalog::process_manager::ProcessId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","catalog::process_manager::ProcessId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","catalog::process_manager::ProcessId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","catalog::process_manager::ProcessId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","catalog::process_manager::ProcessId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","catalog::process_manager::ProcessId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","catalog::process_manager::ProcessId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","catalog::process_manager::ProcessId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","catalog::process_manager::ProcessId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","catalog::process_manager::ProcessId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","catalog::process_manager::ProcessId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","catalog::process_manager::ProcessId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","catalog::process_manager::ProcessId"],["
§

impl PrimitiveContent for u32

§

const TAG: Tag = Tag::INTEGER

The natural tag of an encoded value of this type.
§

fn encoded_len(&self, _: Mode) -> usize

Returns the length of the encoded content of this type.
§

fn write_encoded<W>(&self, _: Mode, target: &mut W) -> Result<(), Error>
where\n W: Write,

Writes the encoded content to a writer.
§

fn to_encoded_bytes(&self, mode: Mode) -> Bytes

Encodes the value to bytes (useful when you need to sign a structure)
§

fn encode(self) -> Primitive<Self>

Returns a value encoder for this content using the natural tag. Read more
§

fn encode_as(self, tag: Tag) -> Primitive<Self>

Returns a value encoder for this content using the given tag. Read more
§

fn encode_ref(&self) -> Primitive<&Self>

Returns a value encoder for a reference using the natural tag.
§

fn encode_ref_as(&self, tag: Tag) -> Primitive<&Self>

Returns a value encoder for a reference using the given tag.
","PrimitiveContent","catalog::process_manager::ProcessId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","catalog::process_manager::ProcessId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","catalog::process_manager::ProcessId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","catalog::process_manager::ProcessId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","catalog::process_manager::ProcessId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","catalog::process_manager::ProcessId"],["
§

impl Pushable for u32

§

fn push_to_builder(self, builder: &mut Builder)

","Pushable","catalog::process_manager::ProcessId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","catalog::process_manager::ProcessId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Rem<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&'a BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Rem<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","catalog::process_manager::ProcessId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","catalog::process_manager::ProcessId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","catalog::process_manager::ProcessId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","catalog::process_manager::ProcessId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","catalog::process_manager::ProcessId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","catalog::process_manager::ProcessId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","catalog::process_manager::ProcessId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","catalog::process_manager::ProcessId"],["
Source§

impl<'a> RemAssign<&'a BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","catalog::process_manager::ProcessId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","catalog::process_manager::ProcessId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","catalog::process_manager::ProcessId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","catalog::process_manager::ProcessId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","catalog::process_manager::ProcessId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","catalog::process_manager::ProcessId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","catalog::process_manager::ProcessId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","catalog::process_manager::ProcessId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","catalog::process_manager::ProcessId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","catalog::process_manager::ProcessId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","catalog::process_manager::ProcessId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","catalog::process_manager::ProcessId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","catalog::process_manager::ProcessId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","catalog::process_manager::ProcessId"],["
§

impl SeekNum for u32

§

fn from_block_byte<T>(block: T, byte: u8, bs: u8) -> Result<u32, OverflowError>
where\n T: Counter,

Try to get position for block number block, byte position inside\nblock byte, and block size bs.
§

fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
where\n T: Counter,

Try to get block number and bytes position for given block size bs.
","SeekNum","catalog::process_manager::ProcessId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","catalog::process_manager::ProcessId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","catalog::process_manager::ProcessId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","catalog::process_manager::ProcessId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","catalog::process_manager::ProcessId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","catalog::process_manager::ProcessId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","catalog::process_manager::ProcessId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","catalog::process_manager::ProcessId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","catalog::process_manager::ProcessId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","catalog::process_manager::ProcessId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","catalog::process_manager::ProcessId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Sub<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&'a BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Sub<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&'a BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","catalog::process_manager::ProcessId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","catalog::process_manager::ProcessId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","catalog::process_manager::ProcessId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","catalog::process_manager::ProcessId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","catalog::process_manager::ProcessId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","catalog::process_manager::ProcessId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","catalog::process_manager::ProcessId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","catalog::process_manager::ProcessId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","catalog::process_manager::ProcessId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","catalog::process_manager::ProcessId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","catalog::process_manager::ProcessId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","catalog::process_manager::ProcessId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","catalog::process_manager::ProcessId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","catalog::process_manager::ProcessId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","catalog::process_manager::ProcessId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","catalog::process_manager::ProcessId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","catalog::process_manager::ProcessId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","catalog::process_manager::ProcessId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","catalog::process_manager::ProcessId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","catalog::process_manager::ProcessId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","catalog::process_manager::ProcessId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
","ToTokens","catalog::process_manager::ProcessId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

Convert self directly into a TokenStream object. Read more
","ToTokens","catalog::process_manager::ProcessId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","catalog::process_manager::ProcessId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","catalog::process_manager::ProcessId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","catalog::process_manager::ProcessId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","catalog::process_manager::ProcessId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","catalog::process_manager::ProcessId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","catalog::process_manager::ProcessId"],["
§

impl<'a> TryFrom<&'a Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Integer,\n) -> Result<u32, <u32 as TryFrom<&'a Integer>>::Error>

Performs the conversion.
","TryFrom<&'a Integer>","catalog::process_manager::ProcessId"],["
§

impl<'a> TryFrom<&'a Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Unsigned,\n) -> Result<u32, <u32 as TryFrom<&'a Unsigned>>::Error>

Performs the conversion.
","TryFrom<&'a Unsigned>","catalog::process_manager::ProcessId"],["
§

impl TryFrom<AnyRef<'_>> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(any: AnyRef<'_>) -> Result<u32, Error>

Performs the conversion.
","TryFrom>","catalog::process_manager::ProcessId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFrom<Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Integer) -> Result<u32, <u32 as TryFrom<Integer>>::Error>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFrom<Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Unsigned) -> Result<u32, <u32 as TryFrom<Unsigned>>::Error>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","catalog::process_manager::ProcessId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","catalog::process_manager::ProcessId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","catalog::process_manager::ProcessId"],["
§

impl Type<MySql> for u32

§

fn type_info() -> MySqlTypeInfo

Returns the canonical SQL type for this Rust type. Read more
§

fn compatible(ty: &MySqlTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
","Type","catalog::process_manager::ProcessId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","catalog::process_manager::ProcessId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","catalog::process_manager::ProcessId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","catalog::process_manager::ProcessId"],["
§

impl ValueOrd for u32

§

fn value_cmp(&self, other: &u32) -> Result<Ordering, Error>

Return an Ordering between value portion of TLV-encoded self and\nother when serialized as ASN.1 DER.
","ValueOrd","catalog::process_manager::ProcessId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","catalog::process_manager::ProcessId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","catalog::process_manager::ProcessId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","catalog::process_manager::ProcessId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","catalog::process_manager::ProcessId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","catalog::process_manager::ProcessId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","catalog::process_manager::ProcessId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","catalog::process_manager::ProcessId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","catalog::process_manager::ProcessId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","catalog::process_manager::ProcessId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","catalog::process_manager::ProcessId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","catalog::process_manager::ProcessId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","catalog::process_manager::ProcessId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","catalog::process_manager::ProcessId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","catalog::process_manager::ProcessId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","catalog::process_manager::ProcessId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","catalog::process_manager::ProcessId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","catalog::process_manager::ProcessId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","catalog::process_manager::ProcessId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","catalog::process_manager::ProcessId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","catalog::process_manager::ProcessId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","catalog::process_manager::ProcessId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","catalog::process_manager::ProcessId"],["
§

impl Zeroable for u32

§

fn zeroed() -> Self

","Zeroable","catalog::process_manager::ProcessId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"catalog::process_manager::ProcessId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"catalog::process_manager::ProcessId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"catalog::process_manager::ProcessId"],["
§

impl AtLeast16 for u32

","AtLeast16","catalog::process_manager::ProcessId"],["
§

impl AtLeast32 for u32

","AtLeast32","catalog::process_manager::ProcessId"],["
§

impl AtLeast8 for u32

","AtLeast8","catalog::process_manager::ProcessId"],["
§

impl AtMost128 for u32

","AtMost128","catalog::process_manager::ProcessId"],["
§

impl AtMost32 for u32

","AtMost32","catalog::process_manager::ProcessId"],["
§

impl AtMost64 for u32

","AtMost64","catalog::process_manager::ProcessId"],["
§

impl BitOps for u32

","BitOps","catalog::process_manager::ProcessId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","catalog::process_manager::ProcessId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","catalog::process_manager::ProcessId"],["
§

impl Counter for u32

","Counter","catalog::process_manager::ProcessId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","catalog::process_manager::ProcessId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","catalog::process_manager::ProcessId"],["
§

impl EqULE for u32

","EqULE","catalog::process_manager::ProcessId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","catalog::process_manager::ProcessId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","catalog::process_manager::ProcessId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","catalog::process_manager::ProcessId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","catalog::process_manager::ProcessId"],["
§

impl HexUint for u32

","HexUint","catalog::process_manager::ProcessId"],["
§

impl Immutable for u32

","Immutable","catalog::process_manager::ProcessId"],["
§

impl Integer for u32

","Integer","catalog::process_manager::ProcessId"],["
§

impl Is32 for u32

","Is32","catalog::process_manager::ProcessId"],["
§

impl NumericOps for u32

","NumericOps","catalog::process_manager::ProcessId"],["
§

impl Pod for u32

","Pod","catalog::process_manager::ProcessId"],["
§

impl Pod for u32

","Pod","catalog::process_manager::ProcessId"],["
§

impl Primitive for u32

","Primitive","catalog::process_manager::ProcessId"],["
Source§

impl SimdCast for u32

","SimdCast","catalog::process_manager::ProcessId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","catalog::process_manager::ProcessId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","catalog::process_manager::ProcessId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","catalog::process_manager::ProcessId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","catalog::process_manager::ProcessId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","catalog::process_manager::ProcessId"],["
Source§

impl TrustedStep for u32

","TrustedStep","catalog::process_manager::ProcessId"],["
§

impl Uint for u32

","Uint","catalog::process_manager::ProcessId"],["
Source§

impl Unsigned for u32

","Unsigned","catalog::process_manager::ProcessId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","catalog::process_manager::ProcessId"],["
Source§

impl UseCloned for u32

","UseCloned","catalog::process_manager::ProcessId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","catalog::process_manager::ProcessId"],["
Source§

impl Weight for u32

","Weight","catalog::process_manager::ProcessId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","catalog::process_manager::ProcessId"]]],["common_meta",[["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Add<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&'a BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Add<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Contiguous for u32

§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
§

type Int = u32

The primitive integer type with an identical representation to this\ntype. Read more
§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type,\nreturns Some(converted_value), otherwise, returns None. Read more
§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This\nmostly exists otherwise generic code would need unsafe for the value as integer Read more
","Contiguous","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Decode<'_, MySql> for u32

§

fn decode(value: MySqlValueRef<'_>) -> Result<u32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'_, MySql>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> DecodeValue<'a> for u32

§

fn decode_value<R>(reader: &mut R, header: Header) -> Result<u32, Error>
where\n R: Reader<'a>,

Attempt to decode this message using the provided [Reader].
","DecodeValue<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Div<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&'a BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Div<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Encode<'_, MySql> for u32

§

fn encode_by_ref(\n &self,\n buf: &mut Vec<u8>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, MySql>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl EncodeValue for u32

§

fn value_len(&self) -> Result<Length, Error>

Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
§

fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
§

fn header(&self) -> Result<Header, Error>
where\n Self: Tagged,

Get the [Header] used to encode this value.
","EncodeValue","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

ASN.1 tag
","FixedTag","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<Length> for u32

§

fn from(length: Length) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl IntoBigInt for u32

Source§

fn into_bigint(self) -> Option<BigInt>

Converts the value of self to a BigInt.
","IntoBigInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl IntoBigUint for u32

Source§

fn into_biguint(self) -> Option<BigUint>

Converts the value of self to a BigUint.
","IntoBigUint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl IntoNotification for u32

§

type Tag = ()

The tag data associated with a notification. Read more
§

type Notify = Notify

The notification type. Read more
§

fn into_notification(self) -> <u32 as IntoNotification>::Notify

Convert this value into a notification. Read more
§

fn additional(self) -> Additional<Self::Notify>
where\n Self: Sized,

Convert this value into an additional notification. Read more
§

fn relaxed(self) -> Relaxed<Self::Notify>
where\n Self: Sized,

Don’t emit a fence for this notification. Read more
§

fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

Use a tag with this notification. Read more
§

fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

Use a function to generate a tag with this notification. Read more
","IntoNotification","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Mul<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&'a BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Mul<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl PrimitiveContent for u32

§

const TAG: Tag = Tag::INTEGER

The natural tag of an encoded value of this type.
§

fn encoded_len(&self, _: Mode) -> usize

Returns the length of the encoded content of this type.
§

fn write_encoded<W>(&self, _: Mode, target: &mut W) -> Result<(), Error>
where\n W: Write,

Writes the encoded content to a writer.
§

fn to_encoded_bytes(&self, mode: Mode) -> Bytes

Encodes the value to bytes (useful when you need to sign a structure)
§

fn encode(self) -> Primitive<Self>

Returns a value encoder for this content using the natural tag. Read more
§

fn encode_as(self, tag: Tag) -> Primitive<Self>

Returns a value encoder for this content using the given tag. Read more
§

fn encode_ref(&self) -> Primitive<&Self>

Returns a value encoder for a reference using the natural tag.
§

fn encode_ref_as(&self, tag: Tag) -> Primitive<&Self>

Returns a value encoder for a reference using the given tag.
","PrimitiveContent","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Pushable for u32

§

fn push_to_builder(self, builder: &mut Builder)

","Pushable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Rem<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&'a BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Rem<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> RemAssign<&'a BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl SeekNum for u32

§

fn from_block_byte<T>(block: T, byte: u8, bs: u8) -> Result<u32, OverflowError>
where\n T: Counter,

Try to get position for block number block, byte position inside\nblock byte, and block size bs.
§

fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
where\n T: Counter,

Try to get block number and bytes position for given block size bs.
","SeekNum","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Sub<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&'a BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Sub<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&'a BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> TryFrom<&'a Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Integer,\n) -> Result<u32, <u32 as TryFrom<&'a Integer>>::Error>

Performs the conversion.
","TryFrom<&'a Integer>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> TryFrom<&'a Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Unsigned,\n) -> Result<u32, <u32 as TryFrom<&'a Unsigned>>::Error>

Performs the conversion.
","TryFrom<&'a Unsigned>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<AnyRef<'_>> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(any: AnyRef<'_>) -> Result<u32, Error>

Performs the conversion.
","TryFrom>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Integer) -> Result<u32, <u32 as TryFrom<Integer>>::Error>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Unsigned) -> Result<u32, <u32 as TryFrom<Unsigned>>::Error>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Type<MySql> for u32

§

fn type_info() -> MySqlTypeInfo

Returns the canonical SQL type for this Rust type. Read more
§

fn compatible(ty: &MySqlTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
","Type","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ValueOrd for u32

§

fn value_cmp(&self, other: &u32) -> Result<Ordering, Error>

Return an Ordering between value portion of TLV-encoded self and\nother when serialized as ASN.1 DER.
","ValueOrd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Zeroable for u32

§

fn zeroed() -> Self

","Zeroable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtLeast16 for u32

","AtLeast16","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtLeast32 for u32

","AtLeast32","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtLeast8 for u32

","AtLeast8","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtMost128 for u32

","AtMost128","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtMost32 for u32

","AtMost32","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl AtMost64 for u32

","AtMost64","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl BitOps for u32

","BitOps","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Counter for u32

","Counter","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl EqULE for u32

","EqULE","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl HexUint for u32

","HexUint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Immutable for u32

","Immutable","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Integer for u32

","Integer","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Is32 for u32

","Is32","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl NumericOps for u32

","NumericOps","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Pod for u32

","Pod","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Pod for u32

","Pod","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Primitive for u32

","Primitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl SimdCast for u32

","SimdCast","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl TrustedStep for u32

","TrustedStep","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl Uint for u32

","Uint","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Unsigned for u32

","Unsigned","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl UseCloned for u32

","UseCloned","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl Weight for u32

","Weight","common_meta::key::FlowId","common_meta::key::FlowPartitionId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","common_meta::key::FlowId","common_meta::key::FlowPartitionId"]]],["index",[["
§

impl AbsDiffEq for u32

§

type Epsilon = u32

Used for specifying relative comparisons.
§

fn default_epsilon() -> u32

The default tolerance to use when testing values that are close together. Read more
§

fn abs_diff_eq(&self, other: &u32, epsilon: u32) -> bool

A test for equality that uses the absolute difference to compute the approximate\nequality of two numbers.
§

fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool

The inverse of [AbsDiffEq::abs_diff_eq].
","AbsDiffEq","index::fulltext_index::search::RowId"],["
§

impl AbsDiffEq for u32

§

type Epsilon = u32

Used for specifying relative comparisons.
§

fn default_epsilon() -> u32

The default tolerance to use when testing values that are close together. Read more
§

fn abs_diff_eq(&self, other: &u32, epsilon: u32) -> bool

A test for equality that uses the absolute difference to compute the approximate\nequality of two numbers.
§

fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool

The inverse of [AbsDiffEq::abs_diff_eq].
","AbsDiffEq","index::fulltext_index::search::RowId"],["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Add<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&'a BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Add<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","index::fulltext_index::search::RowId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","index::fulltext_index::search::RowId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","index::fulltext_index::search::RowId"],["
§

impl Add<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the + operator.
§

fn add(self, rhs: u32x4) -> <u32 as Add<u32x4>>::Output

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","index::fulltext_index::search::RowId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","index::fulltext_index::search::RowId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","index::fulltext_index::search::RowId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","index::fulltext_index::search::RowId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","index::fulltext_index::search::RowId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","index::fulltext_index::search::RowId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","index::fulltext_index::search::RowId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","index::fulltext_index::search::RowId"],["
§

impl BinarySerializable for u32

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Serialize
§

fn deserialize<R>(reader: &mut R) -> Result<u32, Error>
where\n R: Read,

Deserialize
§

fn num_bytes(&self) -> u64

","BinarySerializable","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","index::fulltext_index::search::RowId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","index::fulltext_index::search::RowId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","index::fulltext_index::search::RowId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","index::fulltext_index::search::RowId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","index::fulltext_index::search::RowId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","index::fulltext_index::search::RowId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","index::fulltext_index::search::RowId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","index::fulltext_index::search::RowId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","index::fulltext_index::search::RowId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","index::fulltext_index::search::RowId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","index::fulltext_index::search::RowId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","index::fulltext_index::search::RowId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","index::fulltext_index::search::RowId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","index::fulltext_index::search::RowId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","index::fulltext_index::search::RowId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","index::fulltext_index::search::RowId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","index::fulltext_index::search::RowId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","index::fulltext_index::search::RowId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","index::fulltext_index::search::RowId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","index::fulltext_index::search::RowId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","index::fulltext_index::search::RowId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","index::fulltext_index::search::RowId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","index::fulltext_index::search::RowId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","index::fulltext_index::search::RowId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","index::fulltext_index::search::RowId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","index::fulltext_index::search::RowId"],["
§

impl Contiguous for u32

§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
§

type Int = u32

The primitive integer type with an identical representation to this\ntype. Read more
§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type,\nreturns Some(converted_value), otherwise, returns None. Read more
§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This\nmostly exists otherwise generic code would need unsafe for the value as integer Read more
","Contiguous","index::fulltext_index::search::RowId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","index::fulltext_index::search::RowId"],["
§

impl Decode<'_, MySql> for u32

§

fn decode(value: MySqlValueRef<'_>) -> Result<u32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'_, MySql>","index::fulltext_index::search::RowId"],["
§

impl<'a> DecodeValue<'a> for u32

§

fn decode_value<R>(reader: &mut R, header: Header) -> Result<u32, Error>
where\n R: Reader<'a>,

Attempt to decode this message using the provided [Reader].
","DecodeValue<'a>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","index::fulltext_index::search::RowId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","index::fulltext_index::search::RowId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","index::fulltext_index::search::RowId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, den: &'a BigDecimal) -> <u32 as Div<&'a BigDecimal>>::Output

Performs the / operation. Read more
","Div<&'a BigDecimal>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Div<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&'a BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Div<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the / operation. Read more
","Div<&'a Matrix2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the / operation. Read more
","Div<&'a Matrix3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the / operation. Read more
","Div<&'a Matrix4>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the / operation. Read more
","Div<&'a Point1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the / operation. Read more
","Div<&'a Point2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the / operation. Read more
","Div<&'a Point3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the / operation. Read more
","Div<&'a Vector1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the / operation. Read more
","Div<&'a Vector2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the / operation. Read more
","Div<&'a Vector3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Div<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the / operation. Read more
","Div<&'a Vector4>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","index::fulltext_index::search::RowId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, den: BigDecimal) -> <u32 as Div<BigDecimal>>::Output

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point1<u32>) -> Point1<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point2<u32>) -> Point2<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point3<u32>) -> Point3<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector1<u32>) -> Vector1<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector2<u32>) -> Vector2<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector3<u32>) -> Vector3<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
§

impl Div<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector4<u32>) -> Vector4<u32>

Performs the / operation. Read more
","Div>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","index::fulltext_index::search::RowId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","index::fulltext_index::search::RowId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","index::fulltext_index::search::RowId"],["
§

impl Encode<'_, MySql> for u32

§

fn encode_by_ref(\n &self,\n buf: &mut Vec<u8>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, MySql>","index::fulltext_index::search::RowId"],["
§

impl EncodeValue for u32

§

fn value_len(&self) -> Result<Length, Error>

Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
§

fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
§

fn header(&self) -> Result<Header, Error>
where\n Self: Tagged,

Get the [Header] used to encode this value.
","EncodeValue","index::fulltext_index::search::RowId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","index::fulltext_index::search::RowId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","index::fulltext_index::search::RowId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","index::fulltext_index::search::RowId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","index::fulltext_index::search::RowId"],["
§

impl FixedSize for u32

§

const SIZE_IN_BYTES: usize = 4usize

","FixedSize","index::fulltext_index::search::RowId"],["
§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

ASN.1 tag
","FixedTag","index::fulltext_index::search::RowId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","index::fulltext_index::search::RowId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","index::fulltext_index::search::RowId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","index::fulltext_index::search::RowId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","index::fulltext_index::search::RowId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","index::fulltext_index::search::RowId"],["
§

impl From<Length> for u32

§

fn from(length: Length) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","index::fulltext_index::search::RowId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","index::fulltext_index::search::RowId"],["
§

impl<T> From<PIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: PIdx<T>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl<T> From<RIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: RIdx<T>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl<T> From<SIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: SIdx<T>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl<T> From<StIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: StIdx<T>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","index::fulltext_index::search::RowId"],["
§

impl<T> From<TIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: TIdx<T>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","index::fulltext_index::search::RowId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","index::fulltext_index::search::RowId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","index::fulltext_index::search::RowId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","index::fulltext_index::search::RowId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","index::fulltext_index::search::RowId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","index::fulltext_index::search::RowId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","index::fulltext_index::search::RowId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","index::fulltext_index::search::RowId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","index::fulltext_index::search::RowId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","index::fulltext_index::search::RowId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","index::fulltext_index::search::RowId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","index::fulltext_index::search::RowId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","index::fulltext_index::search::RowId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","index::fulltext_index::search::RowId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","index::fulltext_index::search::RowId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","index::fulltext_index::search::RowId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","index::fulltext_index::search::RowId"],["
Source§

impl IdentFragment for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format this value as an identifier fragment.
Source§

fn span(&self) -> Option<Span>

Span associated with this IdentFragment. Read more
","IdentFragment","index::fulltext_index::search::RowId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","index::fulltext_index::search::RowId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","index::fulltext_index::search::RowId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","index::fulltext_index::search::RowId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","index::fulltext_index::search::RowId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","index::fulltext_index::search::RowId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","index::fulltext_index::search::RowId"],["
Source§

impl IntoBigInt for u32

Source§

fn into_bigint(self) -> Option<BigInt>

Converts the value of self to a BigInt.
","IntoBigInt","index::fulltext_index::search::RowId"],["
Source§

impl IntoBigUint for u32

Source§

fn into_biguint(self) -> Option<BigUint>

Converts the value of self to a BigUint.
","IntoBigUint","index::fulltext_index::search::RowId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","index::fulltext_index::search::RowId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","index::fulltext_index::search::RowId"],["
§

impl IntoNotification for u32

§

type Tag = ()

The tag data associated with a notification. Read more
§

type Notify = Notify

The notification type. Read more
§

fn into_notification(self) -> <u32 as IntoNotification>::Notify

Convert this value into a notification. Read more
§

fn additional(self) -> Additional<Self::Notify>
where\n Self: Sized,

Convert this value into an additional notification. Read more
§

fn relaxed(self) -> Relaxed<Self::Notify>
where\n Self: Sized,

Don’t emit a fence for this notification. Read more
§

fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

Use a tag with this notification. Read more
§

fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

Use a function to generate a tag with this notification. Read more
","IntoNotification","index::fulltext_index::search::RowId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","index::fulltext_index::search::RowId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","index::fulltext_index::search::RowId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","index::fulltext_index::search::RowId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","index::fulltext_index::search::RowId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","index::fulltext_index::search::RowId"],["
§

impl MonotonicallyMappableToU64 for u32

§

fn to_u64(self) -> u64

Converts a value to u64. Read more
§

fn from_u64(val: u64) -> u32

Converts a value from u64 Read more
","MonotonicallyMappableToU64","index::fulltext_index::search::RowId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Mul<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&'a BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Mul<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","index::fulltext_index::search::RowId"],["
Source§

impl<'b, R, C, S> Mul<&'b Matrix<u32, R, C, S>> for u32
where\n R: Dim,\n C: Dim,\n S: Storage<u32, R, C>,\n DefaultAllocator: Allocator<R, C>,

Source§

type Output = Matrix<u32, R, C, <DefaultAllocator as Allocator<R, C>>::Buffer<u32>>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n rhs: &'b Matrix<u32, R, C, S>,\n) -> <u32 as Mul<&'b Matrix<u32, R, C, S>>>::Output

Performs the * operation. Read more
","Mul<&'b Matrix>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the * operation. Read more
","Mul<&'a Matrix2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the * operation. Read more
","Mul<&'a Matrix3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the * operation. Read more
","Mul<&'a Matrix4>","index::fulltext_index::search::RowId"],["
Source§

impl<'b, D> Mul<&'b OPoint<u32, D>> for u32

Source§

type Output = OPoint<u32, D>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n right: &'b OPoint<u32, D>,\n) -> <u32 as Mul<&'b OPoint<u32, D>>>::Output

Performs the * operation. Read more
","Mul<&'b OPoint>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the * operation. Read more
","Mul<&'a Point1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the * operation. Read more
","Mul<&'a Point2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the * operation. Read more
","Mul<&'a Point3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the * operation. Read more
","Mul<&'a Vector1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the * operation. Read more
","Mul<&'a Vector2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the * operation. Read more
","Mul<&'a Vector3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Mul<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the * operation. Read more
","Mul<&'a Vector4>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","index::fulltext_index::search::RowId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl<R, C, S> Mul<Matrix<u32, R, C, S>> for u32
where\n R: Dim,\n C: Dim,\n S: Storage<u32, R, C>,\n DefaultAllocator: Allocator<R, C>,

Source§

type Output = Matrix<u32, R, C, <DefaultAllocator as Allocator<R, C>>::Buffer<u32>>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n rhs: Matrix<u32, R, C, S>,\n) -> <u32 as Mul<Matrix<u32, R, C, S>>>::Output

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
Source§

impl<D> Mul<OPoint<u32, D>> for u32

Source§

type Output = OPoint<u32, D>

The resulting type after applying the * operator.
Source§

fn mul(self, right: OPoint<u32, D>) -> <u32 as Mul<OPoint<u32, D>>>::Output

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point1<u32>) -> Point1<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point2<u32>) -> Point2<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point3<u32>) -> Point3<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector1<u32>) -> Vector1<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector2<u32>) -> Vector2<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector3<u32>) -> Vector3<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector4<u32>) -> Vector4<u32>

Performs the * operation. Read more
","Mul>","index::fulltext_index::search::RowId"],["
§

impl Mul<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the * operator.
§

fn mul(self, rhs: u32x4) -> <u32 as Mul<u32x4>>::Output

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","index::fulltext_index::search::RowId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","index::fulltext_index::search::RowId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","index::fulltext_index::search::RowId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","index::fulltext_index::search::RowId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","index::fulltext_index::search::RowId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","index::fulltext_index::search::RowId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","index::fulltext_index::search::RowId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","index::fulltext_index::search::RowId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","index::fulltext_index::search::RowId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","index::fulltext_index::search::RowId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","index::fulltext_index::search::RowId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","index::fulltext_index::search::RowId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","index::fulltext_index::search::RowId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","index::fulltext_index::search::RowId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","index::fulltext_index::search::RowId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","index::fulltext_index::search::RowId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","index::fulltext_index::search::RowId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","index::fulltext_index::search::RowId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","index::fulltext_index::search::RowId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","index::fulltext_index::search::RowId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","index::fulltext_index::search::RowId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","index::fulltext_index::search::RowId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","index::fulltext_index::search::RowId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","index::fulltext_index::search::RowId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","index::fulltext_index::search::RowId"],["
§

impl PrimitiveContent for u32

§

const TAG: Tag = Tag::INTEGER

The natural tag of an encoded value of this type.
§

fn encoded_len(&self, _: Mode) -> usize

Returns the length of the encoded content of this type.
§

fn write_encoded<W>(&self, _: Mode, target: &mut W) -> Result<(), Error>
where\n W: Write,

Writes the encoded content to a writer.
§

fn to_encoded_bytes(&self, mode: Mode) -> Bytes

Encodes the value to bytes (useful when you need to sign a structure)
§

fn encode(self) -> Primitive<Self>

Returns a value encoder for this content using the natural tag. Read more
§

fn encode_as(self, tag: Tag) -> Primitive<Self>

Returns a value encoder for this content using the given tag. Read more
§

fn encode_ref(&self) -> Primitive<&Self>

Returns a value encoder for a reference using the natural tag.
§

fn encode_ref_as(&self, tag: Tag) -> Primitive<&Self>

Returns a value encoder for a reference using the given tag.
","PrimitiveContent","index::fulltext_index::search::RowId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","index::fulltext_index::search::RowId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","index::fulltext_index::search::RowId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","index::fulltext_index::search::RowId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","index::fulltext_index::search::RowId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","index::fulltext_index::search::RowId"],["
§

impl Pushable for u32

§

fn push_to_builder(self, builder: &mut Builder)

","Pushable","index::fulltext_index::search::RowId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","index::fulltext_index::search::RowId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Rem<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&'a BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Rem<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the % operation. Read more
","Rem<&'a Matrix2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the % operation. Read more
","Rem<&'a Matrix3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the % operation. Read more
","Rem<&'a Matrix4>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the % operation. Read more
","Rem<&'a Point1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the % operation. Read more
","Rem<&'a Point2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the % operation. Read more
","Rem<&'a Point3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the % operation. Read more
","Rem<&'a Vector1>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the % operation. Read more
","Rem<&'a Vector2>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the % operation. Read more
","Rem<&'a Vector3>","index::fulltext_index::search::RowId"],["
§

impl<'a> Rem<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the % operation. Read more
","Rem<&'a Vector4>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","index::fulltext_index::search::RowId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","index::fulltext_index::search::RowId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","index::fulltext_index::search::RowId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","index::fulltext_index::search::RowId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","index::fulltext_index::search::RowId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point1<u32>) -> Point1<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point2<u32>) -> Point2<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point3<u32>) -> Point3<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector1<u32>) -> Vector1<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector2<u32>) -> Vector2<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector3<u32>) -> Vector3<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
§

impl Rem<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector4<u32>) -> Vector4<u32>

Performs the % operation. Read more
","Rem>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","index::fulltext_index::search::RowId"],["
Source§

impl<'a> RemAssign<&'a BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","index::fulltext_index::search::RowId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","index::fulltext_index::search::RowId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","index::fulltext_index::search::RowId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","index::fulltext_index::search::RowId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","index::fulltext_index::search::RowId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","index::fulltext_index::search::RowId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","index::fulltext_index::search::RowId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","index::fulltext_index::search::RowId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","index::fulltext_index::search::RowId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","index::fulltext_index::search::RowId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","index::fulltext_index::search::RowId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","index::fulltext_index::search::RowId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","index::fulltext_index::search::RowId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","index::fulltext_index::search::RowId"],["
§

impl SeekNum for u32

§

fn from_block_byte<T>(block: T, byte: u8, bs: u8) -> Result<u32, OverflowError>
where\n T: Counter,

Try to get position for block number block, byte position inside\nblock byte, and block size bs.
§

fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
where\n T: Counter,

Try to get block number and bytes position for given block size bs.
","SeekNum","index::fulltext_index::search::RowId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","index::fulltext_index::search::RowId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","index::fulltext_index::search::RowId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","index::fulltext_index::search::RowId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","index::fulltext_index::search::RowId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","index::fulltext_index::search::RowId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","index::fulltext_index::search::RowId"],["
§

impl SimdValue for u32

§

const LANES: usize = 1usize

The number of lanes of this SIMD value.
§

type Element = u32

The type of the elements of each lane of this SIMD value.
§

type SimdBool = bool

Type of the result of comparing two SIMD values like self.
§

fn splat(val: <u32 as SimdValue>::Element) -> u32

Initializes an SIMD value with each lanes set to val.
§

fn extract(&self, _: usize) -> <u32 as SimdValue>::Element

Extracts the i-th lane of self. Read more
§

unsafe fn extract_unchecked(&self, _: usize) -> <u32 as SimdValue>::Element

Extracts the i-th lane of self without bound-checking. Read more
§

fn replace(&mut self, _: usize, val: <u32 as SimdValue>::Element)

Replaces the i-th lane of self by val. Read more
§

unsafe fn replace_unchecked(\n &mut self,\n _: usize,\n val: <u32 as SimdValue>::Element,\n)

Replaces the i-th lane of self by val without bound-checking. Read more
§

fn select(self, cond: <u32 as SimdValue>::SimdBool, other: u32) -> u32

Merges self and other depending on the lanes of cond. Read more
§

fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self
where\n Self: Clone,

Applies a function to each lane of self. Read more
§

fn zip_map_lanes(\n self,\n b: Self,\n f: impl Fn(Self::Element, Self::Element) -> Self::Element,\n) -> Self
where\n Self: Clone,

Applies a function to each lane of self paired with the corresponding lane of b. Read more
","SimdValue","index::fulltext_index::search::RowId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","index::fulltext_index::search::RowId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","index::fulltext_index::search::RowId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","index::fulltext_index::search::RowId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","index::fulltext_index::search::RowId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Sub<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&'a BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Sub<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&'a BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","index::fulltext_index::search::RowId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","index::fulltext_index::search::RowId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","index::fulltext_index::search::RowId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","index::fulltext_index::search::RowId"],["
§

impl Sub<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the - operator.
§

fn sub(self, rhs: u32x4) -> <u32 as Sub<u32x4>>::Output

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","index::fulltext_index::search::RowId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","index::fulltext_index::search::RowId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","index::fulltext_index::search::RowId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","index::fulltext_index::search::RowId"],["
§

impl<N2> SubsetOf<AutoSimd<N2>> for u32
where\n AutoSimd<N2>: SimdValue + Copy,\n <AutoSimd<N2> as SimdValue>::Element: SupersetOf<u32> + PartialEq,

§

fn to_superset(&self) -> AutoSimd<N2>

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &AutoSimd<N2>) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &AutoSimd<N2>) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf>","index::fulltext_index::search::RowId"],["
§

impl<N2> SubsetOf<Complex<N2>> for u32
where\n N2: Zero + SupersetOf<u32>,

§

fn to_superset(&self) -> Complex<N2>

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &Complex<N2>) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &Complex<N2>) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf>","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<WideF32x4> for u32

§

fn to_superset(&self) -> WideF32x4

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF32x4) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF32x4) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<WideF32x8> for u32

§

fn to_superset(&self) -> WideF32x8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF32x8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF32x8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<WideF64x4> for u32

§

fn to_superset(&self) -> WideF64x4

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF64x4) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF64x4) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<f32> for u32

§

fn to_superset(&self) -> f32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &f32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &f32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<f64> for u32

§

fn to_superset(&self) -> f64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &f64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &f64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<i128> for u32

§

fn to_superset(&self) -> i128

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i128) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i128) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<i16> for u32

§

fn to_superset(&self) -> i16

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i16) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i16) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<i32> for u32

§

fn to_superset(&self) -> i32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<i64> for u32

§

fn to_superset(&self) -> i64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<i8> for u32

§

fn to_superset(&self) -> i8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<isize> for u32

§

fn to_superset(&self) -> isize

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &isize) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &isize) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<u128> for u32

§

fn to_superset(&self) -> u128

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u128) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u128) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<u16> for u32

§

fn to_superset(&self) -> u16

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u16) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u16) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<u32> for u32

§

fn to_superset(&self) -> u32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<u64> for u32

§

fn to_superset(&self) -> u64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<u8> for u32

§

fn to_superset(&self) -> u8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
§

impl SubsetOf<usize> for u32

§

fn to_superset(&self) -> usize

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &usize) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &usize) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","index::fulltext_index::search::RowId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","index::fulltext_index::search::RowId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","index::fulltext_index::search::RowId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","index::fulltext_index::search::RowId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","index::fulltext_index::search::RowId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","index::fulltext_index::search::RowId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","index::fulltext_index::search::RowId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","index::fulltext_index::search::RowId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","index::fulltext_index::search::RowId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","index::fulltext_index::search::RowId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","index::fulltext_index::search::RowId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","index::fulltext_index::search::RowId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","index::fulltext_index::search::RowId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","index::fulltext_index::search::RowId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","index::fulltext_index::search::RowId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
","ToTokens","index::fulltext_index::search::RowId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

Convert self directly into a TokenStream object. Read more
","ToTokens","index::fulltext_index::search::RowId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","index::fulltext_index::search::RowId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","index::fulltext_index::search::RowId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","index::fulltext_index::search::RowId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","index::fulltext_index::search::RowId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","index::fulltext_index::search::RowId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","index::fulltext_index::search::RowId"],["
§

impl<'a> TryFrom<&'a Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Integer,\n) -> Result<u32, <u32 as TryFrom<&'a Integer>>::Error>

Performs the conversion.
","TryFrom<&'a Integer>","index::fulltext_index::search::RowId"],["
§

impl<'a> TryFrom<&'a Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Unsigned,\n) -> Result<u32, <u32 as TryFrom<&'a Unsigned>>::Error>

Performs the conversion.
","TryFrom<&'a Unsigned>","index::fulltext_index::search::RowId"],["
§

impl TryFrom<AnyRef<'_>> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(any: AnyRef<'_>) -> Result<u32, Error>

Performs the conversion.
","TryFrom>","index::fulltext_index::search::RowId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Integer) -> Result<u32, <u32 as TryFrom<Integer>>::Error>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<PollTimeout> for u32

§

type Error = <u32 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
§

fn try_from(x: PollTimeout) -> Result<u32, <u32 as TryFrom<PollTimeout>>::Error>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Unsigned) -> Result<u32, <u32 as TryFrom<Unsigned>>::Error>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","index::fulltext_index::search::RowId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","index::fulltext_index::search::RowId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","index::fulltext_index::search::RowId"],["
§

impl Type<MySql> for u32

§

fn type_info() -> MySqlTypeInfo

Returns the canonical SQL type for this Rust type. Read more
§

fn compatible(ty: &MySqlTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
","Type","index::fulltext_index::search::RowId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","index::fulltext_index::search::RowId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","index::fulltext_index::search::RowId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","index::fulltext_index::search::RowId"],["
§

impl ValueOrd for u32

§

fn value_cmp(&self, other: &u32) -> Result<Ordering, Error>

Return an Ordering between value portion of TLV-encoded self and\nother when serialized as ASN.1 DER.
","ValueOrd","index::fulltext_index::search::RowId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","index::fulltext_index::search::RowId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","index::fulltext_index::search::RowId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","index::fulltext_index::search::RowId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","index::fulltext_index::search::RowId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","index::fulltext_index::search::RowId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","index::fulltext_index::search::RowId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","index::fulltext_index::search::RowId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","index::fulltext_index::search::RowId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","index::fulltext_index::search::RowId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","index::fulltext_index::search::RowId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","index::fulltext_index::search::RowId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","index::fulltext_index::search::RowId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","index::fulltext_index::search::RowId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","index::fulltext_index::search::RowId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","index::fulltext_index::search::RowId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","index::fulltext_index::search::RowId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","index::fulltext_index::search::RowId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","index::fulltext_index::search::RowId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","index::fulltext_index::search::RowId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","index::fulltext_index::search::RowId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","index::fulltext_index::search::RowId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","index::fulltext_index::search::RowId"],["
§

impl Zeroable for u32

§

fn zeroed() -> Self

","Zeroable","index::fulltext_index::search::RowId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"index::fulltext_index::search::RowId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"index::fulltext_index::search::RowId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"index::fulltext_index::search::RowId"],["
§

impl AtLeast16 for u32

","AtLeast16","index::fulltext_index::search::RowId"],["
§

impl AtLeast32 for u32

","AtLeast32","index::fulltext_index::search::RowId"],["
§

impl AtLeast8 for u32

","AtLeast8","index::fulltext_index::search::RowId"],["
§

impl AtMost128 for u32

","AtMost128","index::fulltext_index::search::RowId"],["
§

impl AtMost32 for u32

","AtMost32","index::fulltext_index::search::RowId"],["
§

impl AtMost64 for u32

","AtMost64","index::fulltext_index::search::RowId"],["
§

impl BitOps for u32

","BitOps","index::fulltext_index::search::RowId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","index::fulltext_index::search::RowId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","index::fulltext_index::search::RowId"],["
§

impl Counter for u32

","Counter","index::fulltext_index::search::RowId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","index::fulltext_index::search::RowId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","index::fulltext_index::search::RowId"],["
§

impl EqULE for u32

","EqULE","index::fulltext_index::search::RowId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","index::fulltext_index::search::RowId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","index::fulltext_index::search::RowId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","index::fulltext_index::search::RowId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","index::fulltext_index::search::RowId"],["
§

impl HexUint for u32

","HexUint","index::fulltext_index::search::RowId"],["
§

impl Immutable for u32

","Immutable","index::fulltext_index::search::RowId"],["
§

impl Integer for u32

","Integer","index::fulltext_index::search::RowId"],["
§

impl Is32 for u32

","Is32","index::fulltext_index::search::RowId"],["
§

impl NumericOps for u32

","NumericOps","index::fulltext_index::search::RowId"],["
§

impl Pod for u32

","Pod","index::fulltext_index::search::RowId"],["
§

impl Pod for u32

","Pod","index::fulltext_index::search::RowId"],["
§

impl Primitive for u32

","Primitive","index::fulltext_index::search::RowId"],["
§

impl PrimitiveSimdValue for u32

","PrimitiveSimdValue","index::fulltext_index::search::RowId"],["
Source§

impl SimdCast for u32

","SimdCast","index::fulltext_index::search::RowId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","index::fulltext_index::search::RowId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","index::fulltext_index::search::RowId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","index::fulltext_index::search::RowId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","index::fulltext_index::search::RowId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","index::fulltext_index::search::RowId"],["
Source§

impl TrustedStep for u32

","TrustedStep","index::fulltext_index::search::RowId"],["
§

impl Uint for u32

","Uint","index::fulltext_index::search::RowId"],["
Source§

impl Unsigned for u32

","Unsigned","index::fulltext_index::search::RowId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","index::fulltext_index::search::RowId"],["
Source§

impl UseCloned for u32

","UseCloned","index::fulltext_index::search::RowId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","index::fulltext_index::search::RowId"],["
Source§

impl Weight for u32

","Weight","index::fulltext_index::search::RowId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","index::fulltext_index::search::RowId"]]],["mito2",[["
§

impl AbsDiffEq for u32

§

type Epsilon = u32

Used for specifying relative comparisons.
§

fn default_epsilon() -> u32

The default tolerance to use when testing values that are close together. Read more
§

fn abs_diff_eq(&self, other: &u32, epsilon: u32) -> bool

A test for equality that uses the absolute difference to compute the approximate\nequality of two numbers.
§

fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool

The inverse of [AbsDiffEq::abs_diff_eq].
","AbsDiffEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AbsDiffEq for u32

§

type Epsilon = u32

Used for specifying relative comparisons.
§

fn default_epsilon() -> u32

The default tolerance to use when testing values that are close together. Read more
§

fn abs_diff_eq(&self, other: &u32, epsilon: u32) -> bool

A test for equality that uses the absolute difference to compute the approximate\nequality of two numbers.
§

fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool

The inverse of [AbsDiffEq::abs_diff_eq].
","AbsDiffEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Add<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&'a BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Add<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Add<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the + operator.
§

fn add(self, rhs: u32x4) -> <u32 as Add<u32x4>>::Output

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl BinarySerializable for u32

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Serialize
§

fn deserialize<R>(reader: &mut R) -> Result<u32, Error>
where\n R: Read,

Deserialize
§

fn num_bytes(&self) -> u64

","BinarySerializable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Contiguous for u32

§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
§

type Int = u32

The primitive integer type with an identical representation to this\ntype. Read more
§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type,\nreturns Some(converted_value), otherwise, returns None. Read more
§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This\nmostly exists otherwise generic code would need unsafe for the value as integer Read more
","Contiguous","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Decode<'_, MySql> for u32

§

fn decode(value: MySqlValueRef<'_>) -> Result<u32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'_, MySql>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> DecodeValue<'a> for u32

§

fn decode_value<R>(reader: &mut R, header: Header) -> Result<u32, Error>
where\n R: Reader<'a>,

Attempt to decode this message using the provided [Reader].
","DecodeValue<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, den: &'a BigDecimal) -> <u32 as Div<&'a BigDecimal>>::Output

Performs the / operation. Read more
","Div<&'a BigDecimal>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Div<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&'a BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Div<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the / operation. Read more
","Div<&'a Matrix2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the / operation. Read more
","Div<&'a Matrix3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the / operation. Read more
","Div<&'a Matrix4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the / operation. Read more
","Div<&'a Point1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the / operation. Read more
","Div<&'a Point2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the / operation. Read more
","Div<&'a Point3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the / operation. Read more
","Div<&'a Vector1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the / operation. Read more
","Div<&'a Vector2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the / operation. Read more
","Div<&'a Vector3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Div<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the / operation. Read more
","Div<&'a Vector4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, den: BigDecimal) -> <u32 as Div<BigDecimal>>::Output

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point1<u32>) -> Point1<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point2<u32>) -> Point2<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Point3<u32>) -> Point3<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector1<u32>) -> Vector1<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector2<u32>) -> Vector2<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector3<u32>) -> Vector3<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Div<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the / operator.
§

fn div(self, other: Vector4<u32>) -> Vector4<u32>

Performs the / operation. Read more
","Div>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Encode<'_, MySql> for u32

§

fn encode_by_ref(\n &self,\n buf: &mut Vec<u8>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, MySql>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl EncodeValue for u32

§

fn value_len(&self) -> Result<Length, Error>

Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
§

fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
§

fn header(&self) -> Result<Header, Error>
where\n Self: Tagged,

Get the [Header] used to encode this value.
","EncodeValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FixedSize for u32

§

const SIZE_IN_BYTES: usize = 4usize

","FixedSize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

ASN.1 tag
","FixedTag","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Gid> for u32

§

fn from(gid: Gid) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Length> for u32

§

fn from(length: Length) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<T> From<PIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: PIdx<T>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<T> From<RIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: RIdx<T>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<T> From<SIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: SIdx<T>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<T> From<StIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: StIdx<T>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<T> From<TIdx<T>> for u32
where\n T: PrimInt + Unsigned,

§

fn from(_: TIdx<T>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl From<Uid> for u32

§

fn from(uid: Uid) -> u32

Converts to this type from the input type.
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl IdentFragment for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format this value as an identifier fragment.
Source§

fn span(&self) -> Option<Span>

Span associated with this IdentFragment. Read more
","IdentFragment","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl IntoBigInt for u32

Source§

fn into_bigint(self) -> Option<BigInt>

Converts the value of self to a BigInt.
","IntoBigInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl IntoBigUint for u32

Source§

fn into_biguint(self) -> Option<BigUint>

Converts the value of self to a BigUint.
","IntoBigUint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl IntoNotification for u32

§

type Tag = ()

The tag data associated with a notification. Read more
§

type Notify = Notify

The notification type. Read more
§

fn into_notification(self) -> <u32 as IntoNotification>::Notify

Convert this value into a notification. Read more
§

fn additional(self) -> Additional<Self::Notify>
where\n Self: Sized,

Convert this value into an additional notification. Read more
§

fn relaxed(self) -> Relaxed<Self::Notify>
where\n Self: Sized,

Don’t emit a fence for this notification. Read more
§

fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

Use a tag with this notification. Read more
§

fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

Use a function to generate a tag with this notification. Read more
","IntoNotification","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl MonotonicallyMappableToU64 for u32

§

fn to_u64(self) -> u64

Converts a value to u64. Read more
§

fn from_u64(val: u64) -> u32

Converts a value from u64 Read more
","MonotonicallyMappableToU64","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Mul<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&'a BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Mul<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'b, R, C, S> Mul<&'b Matrix<u32, R, C, S>> for u32
where\n R: Dim,\n C: Dim,\n S: Storage<u32, R, C>,\n DefaultAllocator: Allocator<R, C>,

Source§

type Output = Matrix<u32, R, C, <DefaultAllocator as Allocator<R, C>>::Buffer<u32>>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n rhs: &'b Matrix<u32, R, C, S>,\n) -> <u32 as Mul<&'b Matrix<u32, R, C, S>>>::Output

Performs the * operation. Read more
","Mul<&'b Matrix>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the * operation. Read more
","Mul<&'a Matrix2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the * operation. Read more
","Mul<&'a Matrix3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the * operation. Read more
","Mul<&'a Matrix4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'b, D> Mul<&'b OPoint<u32, D>> for u32

Source§

type Output = OPoint<u32, D>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n right: &'b OPoint<u32, D>,\n) -> <u32 as Mul<&'b OPoint<u32, D>>>::Output

Performs the * operation. Read more
","Mul<&'b OPoint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the * operation. Read more
","Mul<&'a Point1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the * operation. Read more
","Mul<&'a Point2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the * operation. Read more
","Mul<&'a Point3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the * operation. Read more
","Mul<&'a Vector1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the * operation. Read more
","Mul<&'a Vector2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the * operation. Read more
","Mul<&'a Vector3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Mul<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the * operation. Read more
","Mul<&'a Vector4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<R, C, S> Mul<Matrix<u32, R, C, S>> for u32
where\n R: Dim,\n C: Dim,\n S: Storage<u32, R, C>,\n DefaultAllocator: Allocator<R, C>,

Source§

type Output = Matrix<u32, R, C, <DefaultAllocator as Allocator<R, C>>::Buffer<u32>>

The resulting type after applying the * operator.
Source§

fn mul(\n self,\n rhs: Matrix<u32, R, C, S>,\n) -> <u32 as Mul<Matrix<u32, R, C, S>>>::Output

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<D> Mul<OPoint<u32, D>> for u32

Source§

type Output = OPoint<u32, D>

The resulting type after applying the * operator.
Source§

fn mul(self, right: OPoint<u32, D>) -> <u32 as Mul<OPoint<u32, D>>>::Output

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point1<u32>) -> Point1<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point2<u32>) -> Point2<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Point3<u32>) -> Point3<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector1<u32>) -> Vector1<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector2<u32>) -> Vector2<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector3<u32>) -> Vector3<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the * operator.
§

fn mul(self, other: Vector4<u32>) -> Vector4<u32>

Performs the * operation. Read more
","Mul>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Mul<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the * operator.
§

fn mul(self, rhs: u32x4) -> <u32 as Mul<u32x4>>::Output

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl PrimitiveContent for u32

§

const TAG: Tag = Tag::INTEGER

The natural tag of an encoded value of this type.
§

fn encoded_len(&self, _: Mode) -> usize

Returns the length of the encoded content of this type.
§

fn write_encoded<W>(&self, _: Mode, target: &mut W) -> Result<(), Error>
where\n W: Write,

Writes the encoded content to a writer.
§

fn to_encoded_bytes(&self, mode: Mode) -> Bytes

Encodes the value to bytes (useful when you need to sign a structure)
§

fn encode(self) -> Primitive<Self>

Returns a value encoder for this content using the natural tag. Read more
§

fn encode_as(self, tag: Tag) -> Primitive<Self>

Returns a value encoder for this content using the given tag. Read more
§

fn encode_ref(&self) -> Primitive<&Self>

Returns a value encoder for a reference using the natural tag.
§

fn encode_ref_as(&self, tag: Tag) -> Primitive<&Self>

Returns a value encoder for a reference using the given tag.
","PrimitiveContent","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Pushable for u32

§

fn push_to_builder(self, builder: &mut Builder)

","Pushable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Rem<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&'a BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Rem<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix2<u32>) -> Matrix2<u32>

Performs the % operation. Read more
","Rem<&'a Matrix2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix3<u32>) -> Matrix3<u32>

Performs the % operation. Read more
","Rem<&'a Matrix3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Matrix4<u32>) -> Matrix4<u32>

Performs the % operation. Read more
","Rem<&'a Matrix4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point1<u32>) -> Point1<u32>

Performs the % operation. Read more
","Rem<&'a Point1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point2<u32>) -> Point2<u32>

Performs the % operation. Read more
","Rem<&'a Point2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Point3<u32>) -> Point3<u32>

Performs the % operation. Read more
","Rem<&'a Point3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector1<u32>) -> Vector1<u32>

Performs the % operation. Read more
","Rem<&'a Vector1>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector2<u32>) -> Vector2<u32>

Performs the % operation. Read more
","Rem<&'a Vector2>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector3<u32>) -> Vector3<u32>

Performs the % operation. Read more
","Rem<&'a Vector3>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Rem<&'a Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: &'a Vector4<u32>) -> Vector4<u32>

Performs the % operation. Read more
","Rem<&'a Vector4>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Matrix2<u32>> for u32

§

type Output = Matrix2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix2<u32>) -> Matrix2<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Matrix3<u32>> for u32

§

type Output = Matrix3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix3<u32>) -> Matrix3<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Matrix4<u32>> for u32

§

type Output = Matrix4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Matrix4<u32>) -> Matrix4<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Point1<u32>> for u32

§

type Output = Point1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point1<u32>) -> Point1<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Point2<u32>> for u32

§

type Output = Point2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point2<u32>) -> Point2<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Point3<u32>> for u32

§

type Output = Point3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Point3<u32>) -> Point3<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Vector1<u32>> for u32

§

type Output = Vector1<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector1<u32>) -> Vector1<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Vector2<u32>> for u32

§

type Output = Vector2<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector2<u32>) -> Vector2<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Vector3<u32>> for u32

§

type Output = Vector3<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector3<u32>) -> Vector3<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Rem<Vector4<u32>> for u32

§

type Output = Vector4<u32>

The resulting type after applying the % operator.
§

fn rem(self, other: Vector4<u32>) -> Vector4<u32>

Performs the % operation. Read more
","Rem>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> RemAssign<&'a BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SeekNum for u32

§

fn from_block_byte<T>(block: T, byte: u8, bs: u8) -> Result<u32, OverflowError>
where\n T: Counter,

Try to get position for block number block, byte position inside\nblock byte, and block size bs.
§

fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
where\n T: Counter,

Try to get block number and bytes position for given block size bs.
","SeekNum","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SimdValue for u32

§

const LANES: usize = 1usize

The number of lanes of this SIMD value.
§

type Element = u32

The type of the elements of each lane of this SIMD value.
§

type SimdBool = bool

Type of the result of comparing two SIMD values like self.
§

fn splat(val: <u32 as SimdValue>::Element) -> u32

Initializes an SIMD value with each lanes set to val.
§

fn extract(&self, _: usize) -> <u32 as SimdValue>::Element

Extracts the i-th lane of self. Read more
§

unsafe fn extract_unchecked(&self, _: usize) -> <u32 as SimdValue>::Element

Extracts the i-th lane of self without bound-checking. Read more
§

fn replace(&mut self, _: usize, val: <u32 as SimdValue>::Element)

Replaces the i-th lane of self by val. Read more
§

unsafe fn replace_unchecked(\n &mut self,\n _: usize,\n val: <u32 as SimdValue>::Element,\n)

Replaces the i-th lane of self by val without bound-checking. Read more
§

fn select(self, cond: <u32 as SimdValue>::SimdBool, other: u32) -> u32

Merges self and other depending on the lanes of cond. Read more
§

fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self
where\n Self: Clone,

Applies a function to each lane of self. Read more
§

fn zip_map_lanes(\n self,\n b: Self,\n f: impl Fn(Self::Element, Self::Element) -> Self::Element,\n) -> Self
where\n Self: Clone,

Applies a function to each lane of self paired with the corresponding lane of b. Read more
","SimdValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Sub<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&'a BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Sub<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&'a BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Sub<u32x4> for u32

§

type Output = u32x4

The resulting type after applying the - operator.
§

fn sub(self, rhs: u32x4) -> <u32 as Sub<u32x4>>::Output

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<N2> SubsetOf<AutoSimd<N2>> for u32
where\n AutoSimd<N2>: SimdValue + Copy,\n <AutoSimd<N2> as SimdValue>::Element: SupersetOf<u32> + PartialEq,

§

fn to_superset(&self) -> AutoSimd<N2>

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &AutoSimd<N2>) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &AutoSimd<N2>) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<N2> SubsetOf<Complex<N2>> for u32
where\n N2: Zero + SupersetOf<u32>,

§

fn to_superset(&self) -> Complex<N2>

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &Complex<N2>) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &Complex<N2>) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<WideF32x4> for u32

§

fn to_superset(&self) -> WideF32x4

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF32x4) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF32x4) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<WideF32x8> for u32

§

fn to_superset(&self) -> WideF32x8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF32x8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF32x8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<WideF64x4> for u32

§

fn to_superset(&self) -> WideF64x4

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &WideF64x4) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(c: &WideF64x4) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<f32> for u32

§

fn to_superset(&self) -> f32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &f32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &f32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<f64> for u32

§

fn to_superset(&self) -> f64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &f64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &f64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<i128> for u32

§

fn to_superset(&self) -> i128

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i128) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i128) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<i16> for u32

§

fn to_superset(&self) -> i16

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i16) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i16) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<i32> for u32

§

fn to_superset(&self) -> i32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<i64> for u32

§

fn to_superset(&self) -> i64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<i8> for u32

§

fn to_superset(&self) -> i8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &i8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &i8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<isize> for u32

§

fn to_superset(&self) -> isize

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &isize) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &isize) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<u128> for u32

§

fn to_superset(&self) -> u128

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u128) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u128) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<u16> for u32

§

fn to_superset(&self) -> u16

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u16) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u16) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<u32> for u32

§

fn to_superset(&self) -> u32

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u32) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u32) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<u64> for u32

§

fn to_superset(&self) -> u64

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u64) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u64) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<u8> for u32

§

fn to_superset(&self) -> u8

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &u8) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &u8) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SubsetOf<usize> for u32

§

fn to_superset(&self) -> usize

The inclusion map: converts self to the equivalent element of its superset.
§

fn from_superset_unchecked(element: &usize) -> u32

Use with care! Same as self.to_superset but without any property checks. Always succeeds.
§

fn is_in_subset(_: &usize) -> bool

Checks if element is actually part of the subset Self (and can be converted to it).
§

fn from_superset(element: &T) -> Option<Self>

The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
","SubsetOf","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

🔬This is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
","ToTokens","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ToTokens for u32

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where\n Self: Sized,

Convert self directly into a TokenStream object. Read more
","ToTokens","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> TryFrom<&'a Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Integer,\n) -> Result<u32, <u32 as TryFrom<&'a Integer>>::Error>

Performs the conversion.
","TryFrom<&'a Integer>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> TryFrom<&'a Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(\n val: &'a Unsigned,\n) -> Result<u32, <u32 as TryFrom<&'a Unsigned>>::Error>

Performs the conversion.
","TryFrom<&'a Unsigned>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<AnyRef<'_>> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(any: AnyRef<'_>) -> Result<u32, Error>

Performs the conversion.
","TryFrom>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<Integer> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Integer) -> Result<u32, <u32 as TryFrom<Integer>>::Error>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<PollTimeout> for u32

§

type Error = <u32 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
§

fn try_from(x: PollTimeout) -> Result<u32, <u32 as TryFrom<PollTimeout>>::Error>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<Unsigned> for u32

§

type Error = OverflowError

The type returned in the event of a conversion error.
§

fn try_from(val: Unsigned) -> Result<u32, <u32 as TryFrom<Unsigned>>::Error>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Type<MySql> for u32

§

fn type_info() -> MySqlTypeInfo

Returns the canonical SQL type for this Rust type. Read more
§

fn compatible(ty: &MySqlTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
","Type","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ValueOrd for u32

§

fn value_cmp(&self, other: &u32) -> Result<Ordering, Error>

Return an Ordering between value portion of TLV-encoded self and\nother when serialized as ASN.1 DER.
","ValueOrd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Zeroable for u32

§

fn zeroed() -> Self

","Zeroable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtLeast16 for u32

","AtLeast16","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtLeast32 for u32

","AtLeast32","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtLeast8 for u32

","AtLeast8","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtMost128 for u32

","AtMost128","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtMost32 for u32

","AtMost32","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl AtMost64 for u32

","AtMost64","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl BitOps for u32

","BitOps","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Counter for u32

","Counter","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl EqULE for u32

","EqULE","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl HexUint for u32

","HexUint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Immutable for u32

","Immutable","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Integer for u32

","Integer","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Is32 for u32

","Is32","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl NumericOps for u32

","NumericOps","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Pod for u32

","Pod","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Pod for u32

","Pod","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Primitive for u32

","Primitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl PrimitiveSimdValue for u32

","PrimitiveSimdValue","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl SimdCast for u32

","SimdCast","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl TrustedStep for u32

","TrustedStep","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl Uint for u32

","Uint","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Unsigned for u32

","Unsigned","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl UseCloned for u32

","UseCloned","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl Weight for u32

","Weight","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","mito2::memtable::partition_tree::partition::PartitionKey","mito2::memtable::partition_tree::ShardId","mito2::memtable::MemtableId","mito2::worker::WorkerId"]]],["store_api",[["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtLeast16 for u32

","AtLeast16","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtLeast32 for u32

","AtLeast32","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtLeast8 for u32

","AtLeast8","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtMost128 for u32

","AtMost128","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtMost32 for u32

","AtMost32","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl AtMost64 for u32

","AtMost64","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl BitOps for u32

","BitOps","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl EqULE for u32

","EqULE","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl HexUint for u32

","HexUint","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Immutable for u32

","Immutable","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Integer for u32

","Integer","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Is32 for u32

","Is32","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl NumericOps for u32

","NumericOps","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Pod for u32

","Pod","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Primitive for u32

","Primitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl SimdCast for u32

","SimdCast","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl TrustedStep for u32

","TrustedStep","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl Uint for u32

","Uint","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Unsigned for u32

","Unsigned","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl UseCloned for u32

","UseCloned","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl Weight for u32

","Weight","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","store_api::storage::descriptors::ColumnId","store_api::storage::descriptors::RegionSeq","store_api::storage::descriptors::RegionNumber","store_api::storage::descriptors::TableId"]]],["table",[["
§

impl Add<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: &BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add<&BigDecimal>","table::metadata::TableId"],["
Source§

impl<'a> Add<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&'a BigInt>","table::metadata::TableId"],["
Source§

impl Add<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigInt) -> BigInt

Performs the + operation. Read more
","Add<&BigInt>","table::metadata::TableId"],["
Source§

impl<'a> Add<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&'a BigUint>","table::metadata::TableId"],["
Source§

impl Add<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

fn add(self, other: &BigUint) -> BigUint

Performs the + operation. Read more
","Add<&BigUint>","table::metadata::TableId"],["
Source§

impl<'a> Add<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
","Add<&'a Complex>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Add<&u32> for u32

Source§

type Output = <u32 as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <u32 as Add>::Output

Performs the + operation. Read more
","Add<&u32>","table::metadata::TableId"],["
§

impl Add<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the + operator.
§

fn add(self, rhs: BigDecimal) -> BigDecimal

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
Source§

impl Add<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
Source§

impl Add<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
","Add>","table::metadata::TableId"],["
§

impl<O> Add<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the + operator.
§

fn add(self, rhs: U32<O>) -> U32<O>

Performs the + operation. Read more
","Add>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Add for u32

Source§

type Output = u32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
","Add","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl AddAssign<&u32> for u32

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
","AddAssign<&u32>","table::metadata::TableId"],["
§

impl<O> AddAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn add_assign(&mut self, rhs: U32<O>)

Performs the += operation. Read more
","AddAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl AddAssign for u32

Source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
","AddAssign","table::metadata::TableId"],["
§

impl ArrowNativeType for u32

§

fn from_usize(v: usize) -> Option<u32>

Convert native integer type from usize Read more
§

fn to_usize(self) -> Option<usize>

Convert native type to usize. Read more
§

fn to_isize(self) -> Option<isize>

Convert native type to isize. Read more
§

fn to_i64(self) -> Option<i64>

Convert native type to i64. Read more
§

fn as_usize(self) -> usize

Convert to usize according to the as operator
§

fn usize_as(i: usize) -> u32

Convert from usize according to the as operator
§

fn get_byte_width() -> usize

Returns the byte width of this native type.
","ArrowNativeType","table::metadata::TableId"],["
§

impl ArrowNativeTypeOp for u32

§

const ZERO: u32 = 0u32

The additive identity
§

const ONE: u32 = 1u32

The multiplicative identity
§

const MIN_TOTAL_ORDER: u32 = 0u32

The minimum value and identity for the max aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a negative NaN.
§

const MAX_TOTAL_ORDER: u32 = 4_294_967_295u32

The maximum value and identity for the min aggregation.\nNote that the aggregation uses the total order predicate for floating point values,\nwhich means that this value is a positive NaN.
§

fn add_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked addition operation
§

fn add_wrapping(self, rhs: u32) -> u32

Wrapping addition operation
§

fn sub_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked subtraction operation
§

fn sub_wrapping(self, rhs: u32) -> u32

Wrapping subtraction operation
§

fn mul_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked multiplication operation
§

fn mul_wrapping(self, rhs: u32) -> u32

Wrapping multiplication operation
§

fn div_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked division operation
§

fn div_wrapping(self, rhs: u32) -> u32

Wrapping division operation
§

fn mod_checked(self, rhs: u32) -> Result<u32, ArrowError>

Checked remainder operation
§

fn mod_wrapping(self, rhs: u32) -> u32

Wrapping remainder operation
§

fn neg_checked(self) -> Result<u32, ArrowError>

Checked negation operation
§

fn pow_checked(self, exp: u32) -> Result<u32, ArrowError>

Checked exponentiation operation
§

fn pow_wrapping(self, exp: u32) -> u32

Wrapping exponentiation operation
§

fn neg_wrapping(self) -> u32

Wrapping negation operation
§

fn is_zero(self) -> bool

Returns true if zero else false
§

fn compare(self, rhs: u32) -> Ordering

Compare operation
§

fn is_eq(self, rhs: u32) -> bool

Equality operation
§

fn is_ne(self, rhs: Self) -> bool

Not equal operation
§

fn is_lt(self, rhs: Self) -> bool

Less than operation
§

fn is_le(self, rhs: Self) -> bool

Less than equals operation
§

fn is_gt(self, rhs: Self) -> bool

Greater than operation
§

fn is_ge(self, rhs: Self) -> bool

Greater than equals operation
","ArrowNativeTypeOp","table::metadata::TableId"],["
§

impl AsBytes for u32

§

fn as_bytes(&self) -> &[u8]

Returns slice of bytes for this data type.
","AsBytes","table::metadata::TableId"],["
§

impl AsCast for u32

§

fn as_cast<N>(n: N) -> u32
where\n N: AsPrimitive,

Creates a number from another value that can be converted into\na primitive via the AsPrimitive trait.
","AsCast","table::metadata::TableId"],["
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","table::metadata::TableId"],["
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","table::metadata::TableId"],["
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
","AsPrimitive>","table::metadata::TableId"],["
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
","AsPrimitive>","table::metadata::TableId"],["
Source§

impl AsPrimitive<bf16> for u32

Source§

fn as_(self) -> bf16

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<f16> for u32

Source§

fn as_(self) -> f16

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<f32> for u32

Source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<f64> for u32

Source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<i128> for u32

Source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<i16> for u32

Source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
§

impl AsPrimitive<i256> for u32

§

fn as_(self) -> i256

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<i32> for u32

Source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<i64> for u32

Source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<i8> for u32

Source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<isize> for u32

Source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<u128> for u32

Source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<u16> for u32

Source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<u32> for u32

Source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<u64> for u32

Source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<u8> for u32

Source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
Source§

impl AsPrimitive<usize> for u32

Source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
","AsPrimitive","table::metadata::TableId"],["
§

impl AsPrimitive for u32

§

fn as_u8(self) -> u8

§

fn as_u16(self) -> u16

§

fn as_u32(self) -> u32

§

fn as_u64(self) -> u64

§

fn as_u128(self) -> u128

§

fn as_usize(self) -> usize

§

fn as_i8(self) -> i8

§

fn as_i16(self) -> i16

§

fn as_i32(self) -> i32

§

fn as_i64(self) -> i64

§

fn as_i128(self) -> i128

§

fn as_isize(self) -> isize

§

fn as_f32(self) -> f32

§

fn as_f64(self) -> f64

§

fn from_u32(value: u32) -> u32

§

fn from_u64(value: u64) -> u32

","AsPrimitive","table::metadata::TableId"],["
§

impl AsULE for u32

§

type ULE = RawBytesULE<4>

The ULE type corresponding to Self. Read more
§

fn to_unaligned(self) -> <u32 as AsULE>::ULE

Converts from Self to Self::ULE. Read more
§

fn from_unaligned(unaligned: <u32 as AsULE>::ULE) -> u32

Converts from Self::ULE to Self. Read more
","AsULE","table::metadata::TableId"],["
Source§

impl AtomicPrimitive for u32

Source§

type AtomicInner = AtomicU32

🔬This is a nightly-only experimental API. (atomic_internals)
Temporary implementation detail.
","AtomicPrimitive","table::metadata::TableId"],["
1.0.0 · Source§

impl Binary for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Binary","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd<&u32> for u32

Source§

type Output = <u32 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &u32) -> <u32 as BitAnd>::Output

Performs the & operation. Read more
","BitAnd<&u32>","table::metadata::TableId"],["
§

impl<O> BitAnd<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the & operator.
§

fn bitand(self, rhs: U32<O>) -> U32<O>

Performs the & operation. Read more
","BitAnd>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitAnd for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
","BitAnd","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitAndAssign<&u32> for u32

Source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
","BitAndAssign<&u32>","table::metadata::TableId"],["
§

impl<O> BitAndAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitand_assign(&mut self, rhs: U32<O>)

Performs the &= operation. Read more
","BitAndAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitAndAssign for u32

Source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
","BitAndAssign","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitOr<&u32> for u32

Source§

type Output = <u32 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &u32) -> <u32 as BitOr>::Output

Performs the | operation. Read more
","BitOr<&u32>","table::metadata::TableId"],["
§

impl<O> BitOr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the | operator.
§

fn bitor(self, rhs: U32<O>) -> U32<O>

Performs the | operation. Read more
","BitOr>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitOr for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
","BitOr","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitOrAssign<&u32> for u32

Source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
","BitOrAssign<&u32>","table::metadata::TableId"],["
§

impl<O> BitOrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitor_assign(&mut self, rhs: U32<O>)

Performs the |= operation. Read more
","BitOrAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitOrAssign for u32

Source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
","BitOrAssign","table::metadata::TableId"],["
§

impl BitRegister for u32

§

const ALL: u32 = 4_294_967_295u32

The literal !0.
§

const INDX: u8 = _

The number of bits required to store an index in the range 0 .. BITS.
§

const MASK: u8 = _

A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
","BitRegister","table::metadata::TableId"],["
§

impl BitStore for u32

§

type Access = Cell<u32>

The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

\n
§

const ZERO: u32 = 0u32

The zero constant.
§

const ALIGNED_TO_SIZE: [(); 1]

All implementors are required to have their alignment match their size. Read more
§

const ALIAS_WIDTH: [(); 1]

All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
§

type Mem = u32

The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
§

type Alias = BitSafeU32

A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
§

type Unalias = u32

The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
§

fn new(value: <u32 as BitStore>::Mem) -> u32

Wraps a raw memory value as a BitStore type.
§

fn load_value(&self) -> <u32 as BitStore>::Mem

Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
§

fn store_value(&mut self, value: <u32 as BitStore>::Mem)

Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
§

fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
where\n O: BitOrder,

Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
","BitStore","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitXor<&u32> for u32

Source§

type Output = <u32 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &u32) -> <u32 as BitXor>::Output

Performs the ^ operation. Read more
","BitXor<&u32>","table::metadata::TableId"],["
§

impl<O> BitXor<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: U32<O>) -> U32<O>

Performs the ^ operation. Read more
","BitXor>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl BitXor for u32

Source§

type Output = u32

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
","BitXor","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl BitXorAssign<&u32> for u32

Source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
","BitXorAssign<&u32>","table::metadata::TableId"],["
§

impl<O> BitXorAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn bitxor_assign(&mut self, rhs: U32<O>)

Performs the ^= operation. Read more
","BitXorAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl BitXorAssign for u32

Source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
","BitXorAssign","table::metadata::TableId"],["
§

impl Bits for u32

§

const EMPTY: u32 = 0u32

A value with all bits unset.
§

const ALL: u32 = 4_294_967_295u32

A value with all bits set.
","Bits","table::metadata::TableId"],["
Source§

impl Bounded for u32

Source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
Source§

fn max_value() -> u32

Returns the largest finite number this type can represent
","Bounded","table::metadata::TableId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Source§

fn from_f32(val: f32) -> u32

Source§

fn from_f64(val: f64) -> u32

","BoundedMeasure","table::metadata::TableId"],["
Source§

impl BoundedMeasure for u32

Source§

fn min() -> u32

Source§

fn max() -> u32

Source§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

","BoundedMeasure","table::metadata::TableId"],["
§

impl CallHasher for u32

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where\n H: Hash + ?Sized,\n B: BuildHasher,

","CallHasher","table::metadata::TableId"],["
Source§

impl CarryingMulAdd for u32

Source§

type Unsigned = u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
Source§

fn carrying_mul_add(self, a: u32, b: u32, c: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
","CarryingMulAdd","table::metadata::TableId"],["
§

impl CastSigned for u32

§

type Signed = i32

The signed integer type with the same size as Self.
§

fn cast_signed(self) -> <u32 as CastSigned>::Signed

Cast an integer to the signed integer of the same size.
","CastSigned","table::metadata::TableId"],["
§

impl CastUnsigned for u32

§

type Unsigned = u32

The unsigned integer type with the same size as Self.
§

fn cast_unsigned(self) -> <u32 as CastUnsigned>::Unsigned

Cast an integer to the unsigned integer of the same size.
","CastUnsigned","table::metadata::TableId"],["
Source§

impl CheckedAdd for u32

Source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
","CheckedAdd","table::metadata::TableId"],["
Source§

impl CheckedDiv for u32

Source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
","CheckedDiv","table::metadata::TableId"],["
Source§

impl CheckedEuclid for u32

Source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
Source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
Source§

fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

Returns both the quotient and remainder from checked Euclidean division. Read more
","CheckedEuclid","table::metadata::TableId"],["
Source§

impl CheckedMul for u32

Source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
","CheckedMul","table::metadata::TableId"],["
Source§

impl CheckedNeg for u32

Source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
","CheckedNeg","table::metadata::TableId"],["
Source§

impl CheckedRem for u32

Source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
","CheckedRem","table::metadata::TableId"],["
Source§

impl CheckedShl for u32

Source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShl","table::metadata::TableId"],["
Source§

impl CheckedShr for u32

Source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
","CheckedShr","table::metadata::TableId"],["
Source§

impl CheckedSub for u32

Source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
","CheckedSub","table::metadata::TableId"],["
1.0.0 · Source§

impl Clone for u32

Source§

fn clone(&self) -> u32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","table::metadata::TableId"],["
Source§

impl ConditionallySelectable for u32

Source§

fn conditional_select(a: &u32, b: &u32, choice: Choice) -> u32

Select a or b according to choice. Read more
Source§

fn conditional_assign(&mut self, other: &u32, choice: Choice)

Conditionally assign other to self, according to choice. Read more
Source§

fn conditional_swap(a: &mut u32, b: &mut u32, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise,\nreassign both unto themselves. Read more
","ConditionallySelectable","table::metadata::TableId"],["
Source§

impl ConstOne for u32

Source§

const ONE: u32 = 1u32

The multiplicative identity element of Self, 1.
","ConstOne","table::metadata::TableId"],["
Source§

impl ConstZero for u32

Source§

const ZERO: u32 = 0u32

The additive identity element of Self, 0.
","ConstZero","table::metadata::TableId"],["
Source§

impl ConstantTimeEq for u32

Source§

fn ct_eq(&self, other: &u32) -> Choice

Determine if two items are equal. Read more
Source§

fn ct_ne(&self, other: &Self) -> Choice

Determine if two items are NOT equal. Read more
","ConstantTimeEq","table::metadata::TableId"],["
Source§

impl ConstantTimeGreater for u32

Source§

fn ct_gt(&self, other: &u32) -> Choice

Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.

\n
§Note
\n

This algoritm would also work for signed integers if we first\nflip the top bit, e.g. let x: u8 = x ^ 0x80, etc.

\n
","ConstantTimeGreater","table::metadata::TableId"],["
Source§

impl ConstantTimeLess for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Determine whether self < other. Read more
","ConstantTimeLess","table::metadata::TableId"],["
§

impl Contiguous for u32

§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
§

type Int = u32

The primitive integer type with an identical representation to this\ntype. Read more
§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type,\nreturns Some(converted_value), otherwise, returns None. Read more
§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This\nmostly exists otherwise generic code would need unsafe for the value as integer Read more
","Contiguous","table::metadata::TableId"],["
§

impl Counter for u32

§

fn as_f64(&self) -> f64

Counter as a f64.
§

fn as_u64(&self) -> u64

Counter as a u64.
","Counter","table::metadata::TableId"],["
1.0.0 · Source§

impl Debug for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","table::metadata::TableId"],["
§

impl<'a> DecodeValue<'a> for u32

§

fn decode_value<R>(reader: &mut R, header: Header) -> Result<u32, Error>
where\n R: Reader<'a>,

Attempt to decode this message using the provided [Reader].
","DecodeValue<'a>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Default for u32

Source§

fn default() -> u32

Returns the default value of 0

\n
","Default","table::metadata::TableId"],["
Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<u32, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","table::metadata::TableId"],["
Source§

impl DisjointBitOr for u32

Source§

unsafe fn disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::disjoint_bitor; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","DisjointBitOr","table::metadata::TableId"],["
1.0.0 · Source§

impl Display for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","table::metadata::TableId"],["
§

impl Div<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: &BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div<&BigDecimal>","table::metadata::TableId"],["
Source§

impl<'a> Div<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&'a BigInt>","table::metadata::TableId"],["
Source§

impl Div<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigInt) -> BigInt

Performs the / operation. Read more
","Div<&BigInt>","table::metadata::TableId"],["
Source§

impl<'a> Div<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&'a BigUint>","table::metadata::TableId"],["
Source§

impl Div<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

fn div(self, other: &BigUint) -> BigUint

Performs the / operation. Read more
","Div<&BigUint>","table::metadata::TableId"],["
Source§

impl<'a> Div<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
","Div<&'a Complex>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Div<&u32> for u32

Source§

type Output = <u32 as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <u32 as Div>::Output

Performs the / operation. Read more
","Div<&u32>","table::metadata::TableId"],["
§

impl Div<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the / operator.
§

fn div(self, denom: BigDecimal) -> BigDecimal

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
Source§

impl Div<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
Source§

impl Div<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
","Div>","table::metadata::TableId"],["
1.51.0 (const: unstable) · Source§

impl Div<NonZero<u32>> for u32

Source§

fn div(self, other: NonZero<u32>) -> u32

Same as self / other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
","Div>","table::metadata::TableId"],["
§

impl<O> Div<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the / operator.
§

fn div(self, rhs: U32<O>) -> U32<O>

Performs the / operation. Read more
","Div>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Div for u32

This operation rounds towards zero, truncating any\nfractional part of the exact result.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
","Div","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl DivAssign<&u32> for u32

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
","DivAssign<&u32>","table::metadata::TableId"],["
1.79.0 (const: unstable) · Source§

impl DivAssign<NonZero<u32>> for u32

Source§

fn div_assign(&mut self, other: NonZero<u32>)

Same as self /= other.get(), but because other is a NonZero<_>,\nthere’s never a runtime check for division-by-zero.

\n

This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

\n
","DivAssign>","table::metadata::TableId"],["
§

impl<O> DivAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn div_assign(&mut self, rhs: U32<O>)

Performs the /= operation. Read more
","DivAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl DivAssign for u32

Source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
","DivAssign","table::metadata::TableId"],["
§

impl EncodeValue for u32

§

fn value_len(&self) -> Result<Length, Error>

Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
§

fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
§

fn header(&self) -> Result<Header, Error>
where\n Self: Tagged,

Get the [Header] used to encode this value.
","EncodeValue","table::metadata::TableId"],["
§

impl EndianScalar for u32

§

type Scalar = u32

§

fn to_little_endian(self) -> <u32 as EndianScalar>::Scalar

§

fn from_little_endian(v: <u32 as EndianScalar>::Scalar) -> u32

","EndianScalar","table::metadata::TableId"],["
Source§

impl Euclid for u32

Source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
Source§

fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

Returns both the quotient and remainder from Euclidean division. Read more
","Euclid","table::metadata::TableId"],["
§

impl FixedInt for u32

§

const REQUIRED_SPACE: usize = 4usize

§

fn required_space() -> usize

Returns how many bytes are required to represent the given type.
§

fn encode_fixed_light<'a>(&'a self) -> &'a [u8]

Perform a transmute, i.e. return a “view” into the integer’s memory, which is faster than\nperforming a copy.
§

fn encode_fixed(self, dst: &mut [u8])

Encode a value into the given slice. dst must be exactly REQUIRED_SPACE bytes.
§

fn decode_fixed(src: &[u8]) -> u32

Decode a value from the given slice. src must be exactly REQUIRED_SPACE bytes.
§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
§

fn decode_fixed_vec(v: &Vec<u8>) -> Self

Helper: Decode the value from the Vec.
","FixedInt","table::metadata::TableId"],["
§

impl FixedInt for u32

§

type Bytes = [u8; 4]

§

fn encode_fixed(self, dst: &mut [u8]) -> Option<()>

Encode a value into the given slice using little-endian. Returns None if dst\ndoesn’t provide enough space to encode this integer. Read more
§

fn encode_fixed_light(self) -> <u32 as FixedInt>::Bytes

Returns the representation of [FixedInt] as [Bytes], the little-endian representation\nof self in the stack.
§

fn decode_fixed(src: &[u8]) -> Option<u32>

Decode a value from the given slice assuming little-endian. Use switch_endianness() on\nthe returned value if the source was not encoded in little-endian.
§

fn switch_endianness(self) -> u32

integer-encoding-rs always emits and receives little-endian integers (converting implicitly\non big-endian machines). If you receive a big-endian integer, and would like it to be\ntreated correctly, use this helper method to convert between endiannesses.
§

const ENCODED_SIZE: usize = _

§

fn encode_fixed_vec(self) -> Vec<u8>

Helper: Encode the value and return a Vec.
","FixedInt","table::metadata::TableId"],["
§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

ASN.1 tag
","FixedTag","table::metadata::TableId"],["
Source§

impl FmtConst for u32

Source§

fn fmt_const(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Print a const expression representing this value.
","FmtConst","table::metadata::TableId"],["
§

impl<'a> Follow<'a> for u32

§

type Inner = u32

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <u32 as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","table::metadata::TableId"],["
§

impl FormattedSize for u32

§

const FORMATTED_SIZE: usize = 10usize

Maximum number of bytes required to serialize a number to string. Read more
§

const FORMATTED_SIZE_DECIMAL: usize = 10usize

Maximum number of bytes required to serialize a number to a decimal\nstring. Read more
","FormattedSize","table::metadata::TableId"],["
Source§

impl From<AsciiChar> for u32

Source§

fn from(chr: AsciiChar) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl From<GeneralCategoryGroup> for u32

§

fn from(group: GeneralCategoryGroup) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

Source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

\n
","From","table::metadata::TableId"],["
§

impl From<Length> for u32

§

fn from(length: Length) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","table::metadata::TableId"],["
§

impl From<Mode> for u32

§

fn from(mode: Mode) -> u32

Support conversions from Mode to raw mode values.

\n\n
use rustix::fs::{Mode, RawMode};\nassert_eq!(RawMode::from(Mode::RWXU), 0o700);
","From","table::metadata::TableId"],["
§

impl From<PotentialCodePoint> for u32

§

fn from(x: PotentialCodePoint) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl<const MIN: u32, const MAX: u32> From<RangedU32<MIN, MAX>> for u32

§

fn from(value: RangedU32<MIN, MAX>) -> u32

Converts to this type from the input type.
","From>","table::metadata::TableId"],["
§

impl From<Reason> for u32

§

fn from(src: Reason) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl From<StreamId> for u32

§

fn from(src: StreamId) -> u32

Converts to this type from the input type.
","From","table::metadata::TableId"],["
§

impl<O> From<U16<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U16<O>) -> u32

Converts to this type from the input type.
","From>","table::metadata::TableId"],["
§

impl<O> From<U32<O>> for u32
where\n O: ByteOrder,

§

fn from(x: U32<O>) -> u32

Converts to this type from the input type.
","From>","table::metadata::TableId"],["
1.28.0 (const: unstable) · Source§

impl From<bool> for u32

Source§

fn from(small: bool) -> u32

Converts a bool to u32 losslessly.\nThe resulting value is 0 for false and 1 for true values.

\n
§Examples
\n
assert_eq!(u32::from(true), 1);\nassert_eq!(u32::from(false), 0);
","From","table::metadata::TableId"],["
1.13.0 (const: unstable) · Source§

impl From<char> for u32

Source§

fn from(c: char) -> u32

Converts a char into a u32.

\n
§Examples
\n
let c = 'c';\nlet u = u32::from(c);\nassert!(4 == size_of_val(&u))
","From","table::metadata::TableId"],["
1.5.0 (const: unstable) · Source§

impl From<u16> for u32

Source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

\n
","From","table::metadata::TableId"],["
1.5.0 (const: unstable) · Source§

impl From<u8> for u32

Source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

\n
","From","table::metadata::TableId"],["
Source§

impl FromBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
Source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
Source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
","FromBytes","table::metadata::TableId"],["
§

impl FromBytes for u32

§

fn ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without\ncopying. Read more
§

fn ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes(\n source: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without\ncopying. Read more
§

fn mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without\ncopying. Read more
§

fn ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to\ncount. Read more
§

fn ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length\nequal to count. Read more
§

fn ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length\nequal to count. Read more
§

fn mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal\nto count. Read more
§

fn mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where\n Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST\nlength equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where\n Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
","FromBytes","table::metadata::TableId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","table::metadata::TableId"],["
§

impl FromLexical for u32

§

fn from_lexical(bytes: &[u8]) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial(bytes: &[u8]) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexical","table::metadata::TableId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","table::metadata::TableId"],["
§

impl FromLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for parsing a number.
§

fn from_lexical_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<u32, Error>

Checked parser for a string-to-number conversion. Read more
§

fn from_lexical_partial_with_options<const FORMAT: u128>(\n bytes: &[u8],\n options: &<u32 as FromLexicalWithOptions>::Options,\n) -> Result<(u32, usize), Error>

Checked parser for a string-to-number conversion. Read more
","FromLexicalWithOptions","table::metadata::TableId"],["
Source§

impl FromPrimitive for u32

Source§

fn from_isize(n: isize) -> Option<u32>

Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i8(n: i8) -> Option<u32>

Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i16(n: i16) -> Option<u32>

Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i32(n: i32) -> Option<u32>

Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i64(n: i64) -> Option<u32>

Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_i128(n: i128) -> Option<u32>

Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_usize(n: usize) -> Option<u32>

Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u8(n: u8) -> Option<u32>

Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u16(n: u16) -> Option<u32>

Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u32(n: u32) -> Option<u32>

Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u64(n: u64) -> Option<u32>

Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_u128(n: u128) -> Option<u32>

Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
Source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
","FromPrimitive","table::metadata::TableId"],["
§

impl<'a> FromSql<'a> for u32

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<u32, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl FromStr for u32

Source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses an integer from a string slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
use std::str::FromStr;\n\nassert_eq!(u32::from_str(\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str(\"1 \").is_err());
Source§

type Err = ParseIntError

The associated error which can be returned from parsing.
","FromStr","table::metadata::TableId"],["
§

impl FromZeros for u32

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where\n Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
","FromZeros","table::metadata::TableId"],["
§

impl Fundamental for u32

§

fn as_bool(self) -> bool

Tests self != 0.
§

fn as_char(self) -> Option<char>

Represents self as a Unicode Scalar Value, if possible.
§

fn as_i8(self) -> i8

Performs self as i8.
§

fn as_i16(self) -> i16

Performs self as i16.
§

fn as_i32(self) -> i32

Performs self as i32.
§

fn as_i64(self) -> i64

Performs self as i64.
§

fn as_i128(self) -> i128

Performs self as i128.
§

fn as_isize(self) -> isize

Performs self as isize.
§

fn as_u8(self) -> u8

Performs self as u8.
§

fn as_u16(self) -> u16

Performs self as u16.
§

fn as_u32(self) -> u32

Performs self as u32.
§

fn as_u64(self) -> u64

Performs self as u64.
§

fn as_u128(self) -> u128

Performs self as u128.
§

fn as_usize(self) -> usize

Performs self as usize.
§

fn as_f32(self) -> f32

Performs self as f32.
§

fn as_f64(self) -> f64

Performs self as f64.
","Fundamental","table::metadata::TableId"],["
Source§

impl FunnelShift for u32

Source§

unsafe fn unchecked_funnel_shl(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shl; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
Source§

unsafe fn unchecked_funnel_shr(self, rhs: u32, shift: u32) -> u32

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)
See super::unchecked_funnel_shr; we just need the trait indirection to handle\ndifferent types since calling intrinsics with generics doesn’t work.
","FunnelShift","table::metadata::TableId"],["
1.0.0 · Source§

impl Hash for u32

Source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
Source§

fn hash_slice<H>(data: &[u32], state: &mut H)
where\n H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
","Hash","table::metadata::TableId"],["
§

impl HashValue for u32

§

fn hash_one(&self, state: &RandomState) -> u64

","HashValue","table::metadata::TableId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","table::metadata::TableId"],["
Source§

impl IndexType for u32

Source§

fn new(x: usize) -> u32

Source§

fn index(&self) -> usize

Source§

fn max() -> u32

","IndexType","table::metadata::TableId"],["
Source§

impl Integer for u32

Source§

const MAX_STR_LEN: usize = 10usize

The maximum length of string that formatting an integer of this type can\nproduce on the current target platform.
","Integer","table::metadata::TableId"],["
Source§

impl Integer for u32

Source§

fn div_floor(&self, other: &u32) -> u32

Unsigned integer division. Returns the same result as div (/).

\n
Source§

fn mod_floor(&self, other: &u32) -> u32

Unsigned integer modulo operation. Returns the same result as rem (%).

\n
Source§

fn gcd(&self, other: &u32) -> u32

Calculates the Greatest Common Divisor (GCD) of the number and other

\n
Source§

fn lcm(&self, other: &u32) -> u32

Calculates the Lowest Common Multiple (LCM) of the number and other.

\n
Source§

fn gcd_lcm(&self, other: &u32) -> (u32, u32)

Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

\n
Source§

fn is_multiple_of(&self, other: &u32) -> bool

Returns true if the number is a multiple of other.

\n
Source§

fn is_even(&self) -> bool

Returns true if the number is divisible by 2.

\n
Source§

fn is_odd(&self) -> bool

Returns true if the number is not divisible by 2.

\n
Source§

fn div_rem(&self, other: &u32) -> (u32, u32)

Simultaneous truncated integer division and modulus.

\n
Source§

fn div_ceil(&self, other: &u32) -> u32

Ceiled integer division. Read more
Source§

fn extended_gcd_lcm(&self, other: &u32) -> (ExtendedGcd<u32>, u32)

Greatest common divisor, least common multiple, and Bézout coefficients.
Source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
where\n Self: Clone,

Greatest common divisor and Bézout coefficients. Read more
Source§

fn divides(&self, other: &Self) -> bool

👎Deprecated: Please use is_multiple_of instead
Deprecated, use is_multiple_of instead.
Source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
Source§

fn next_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds up to nearest multiple of argument. Read more
Source§

fn prev_multiple_of(&self, other: &Self) -> Self
where\n Self: Clone,

Rounds down to nearest multiple of argument. Read more
Source§

fn dec(&mut self)
where\n Self: Clone,

Decrements self by one. Read more
Source§

fn inc(&mut self)
where\n Self: Clone,

Increments self by one. Read more
","Integer","table::metadata::TableId"],["
§

impl Integer for u32

§

const ZERO: u32 = 0u32

§

const ONE: u32 = 1u32

§

const TWO: u32 = 2u32

§

const MAX: u32 = 4_294_967_295u32

§

const MIN: u32 = 0u32

§

const BITS: usize = 32usize

§

fn leading_zeros(self) -> u32

§

fn trailing_zeros(self) -> u32

§

fn checked_add(self, i: u32) -> Option<u32>

§

fn checked_sub(self, i: u32) -> Option<u32>

§

fn checked_mul(self, i: u32) -> Option<u32>

§

fn overflowing_add(self, i: u32) -> (u32, bool)

§

fn overflowing_sub(self, i: u32) -> (u32, bool)

§

fn overflowing_mul(self, i: u32) -> (u32, bool)

§

fn wrapping_add(self, i: u32) -> u32

§

fn wrapping_sub(self, i: u32) -> u32

§

fn wrapping_mul(self, i: u32) -> u32

§

fn wrapping_neg(self) -> u32

§

fn pow(self, exp: u32) -> u32

§

fn checked_pow(self, exp: u32) -> Option<u32>

§

fn overflowing_pow(self, exp: u32) -> (u32, bool)

§

fn saturating_add(self, i: u32) -> u32

§

fn saturating_sub(self, i: u32) -> u32

§

fn saturating_mul(self, i: u32) -> u32

§

fn ceil_divmod(self, y: Self) -> (Self, i32)

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_div(self, y: Self) -> Self

Get the fast ceiling of the quotient from integer division.\nNot safe, since the remainder can easily overflow.
§

fn ceil_mod(self, y: Self) -> i32

Get the fast ceiling modulus from integer division.\nNot safe, since the remainder can easily overflow.
§

fn bit_length(self) -> u32

Get the number of bits in a value.
§

fn is_odd(self) -> bool

Returns true if the least-significant bit is odd.
§

fn is_even(self) -> bool

Returns true if the least-significant bit is even.
§

fn overflow_digits(radix: u32) -> usize

Get the maximum number of digits before the slice will overflow. Read more
","Integer","table::metadata::TableId"],["
§

impl Integral for u32

§

const ZERO: u32 = 0u32

The type’s zero value.
§

const ONE: u32 = 1u32

The type’s step value.
§

const MIN: u32 = 0u32

The type’s minimum value. This is zero for unsigned integers.
§

const MAX: u32 = 4_294_967_295u32

The type’s maximum value.
§

const BITS: u32 = 32u32

The size of this type in bits.
§

fn min_value() -> u32

Returns the smallest value that can be represented by this integer type.
§

fn max_value() -> u32

Returns the largest value that can be represented by this integer type.
§

fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Converts a string slice in a given base to an integer. Read more
§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.
§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.
§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of\nself.
§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of\nself.
§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of\nself.
§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of\nself.
§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer.
§

fn reverse_bits(self) -> u32

Reverses the bit pattern of the integer.
§

fn from_be(self) -> u32

Converts an integer from big endian to the target’s endianness. Read more
§

fn from_le(self) -> u32

Converts an integer frm little endian to the target’s endianness. Read more
§

fn to_be(self) -> u32

Converts self to big endian from the target’s endianness. Read more
§

fn to_le(self) -> u32

Converts self to little endian from the target’s endianness. Read more
§

fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
§

fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
§

fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
§

fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
§

fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
§

fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None if self == MIN. Read more
§

fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
§

fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
§

fn checked_pow(self, rhs: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
§

fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
§

fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
§

fn saturating_pow(self, rhs: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
§

fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
§

fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
§

fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
§

fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
§

fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
§

fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
§

fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
§

fn wrapping_pow(self, rhs: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
§

fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs Read more
§

fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs Read more
§

fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs. Read more
§

fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs. Read more
§

fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
§

fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs. Read more
§

fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
§

fn overflowing_neg(self) -> (u32, bool)

Negates self, overflowing if this is equal to the minimum value. Read more
§

fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits. Read more
§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits. Read more
§

fn overflowing_pow(self, rhs: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring. Read more
§

fn pow(self, rhs: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.
§

fn div_euclid(self, rhs: u32) -> u32

Calculates the quotient of Euclidean division of self by rhs. Read more
§

fn rem_euclid(self, rhs: u32) -> u32

Calculates the least nonnegative remainder of self (mod rhs). Read more
","Integral","table::metadata::TableId"],["
Source§

impl IntoBigInt for u32

Source§

fn into_bigint(self) -> Option<BigInt>

Converts the value of self to a BigInt.
","IntoBigInt","table::metadata::TableId"],["
Source§

impl IntoBigUint for u32

Source§

fn into_biguint(self) -> Option<BigUint>

Converts the value of self to a BigUint.
","IntoBigUint","table::metadata::TableId"],["
§

impl IntoBytes for u32

§

fn as_bytes(&self) -> &[u8]
where\n Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where\n Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix(\n &self,\n dst: &mut [u8],\n) -> Result<(), SizeError<&Self, &mut [u8]>>
where\n Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
","IntoBytes","table::metadata::TableId"],["
Source§

impl<'de, E> IntoDeserializer<'de, E> for u32
where\n E: Error,

Source§

type Deserializer = U32Deserializer<E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> U32Deserializer<E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","table::metadata::TableId"],["
§

impl JsonSerializable for u32

§

fn into_json_value(self) -> Option<Value>

Converts self into json value if its possible
","JsonSerializable","table::metadata::TableId"],["
§

impl KnownLayout for u32

§

type PointerMetadata = ()

The type of metadata stored in a pointer to Self. Read more
","KnownLayout","table::metadata::TableId"],["
§

impl Literal for u32

literal expression containing a u32

\n
§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","table::metadata::TableId"],["
1.42.0 · Source§

impl LowerExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","LowerExp","table::metadata::TableId"],["
1.0.0 · Source§

impl LowerHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","LowerHex","table::metadata::TableId"],["
Source§

impl Message for u32

google.protobuf.UInt32Value

\n
Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited(\n &self,\n buf: &mut impl BufMut,\n) -> Result<(), EncodeError>
where\n Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where\n Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where\n Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where\n Self: Sized,

Decodes a length-delimited instance of the message from buffer, and\nmerges it into self.
","Message","table::metadata::TableId"],["
§

impl Mul<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: &BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul<&BigDecimal>","table::metadata::TableId"],["
Source§

impl<'a> Mul<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&'a BigInt>","table::metadata::TableId"],["
Source§

impl Mul<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigInt) -> BigInt

Performs the * operation. Read more
","Mul<&BigInt>","table::metadata::TableId"],["
Source§

impl<'a> Mul<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&'a BigUint>","table::metadata::TableId"],["
Source§

impl Mul<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

fn mul(self, other: &BigUint) -> BigUint

Performs the * operation. Read more
","Mul<&BigUint>","table::metadata::TableId"],["
Source§

impl<'a> Mul<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
","Mul<&'a Complex>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Mul<&u32> for u32

Source§

type Output = <u32 as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <u32 as Mul>::Output

Performs the * operation. Read more
","Mul<&u32>","table::metadata::TableId"],["
§

impl Mul<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the * operator.
§

fn mul(self, rhs: BigDecimal) -> BigDecimal

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl Mul<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl Mul<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
","Mul>","table::metadata::TableId"],["
§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
§

fn mul(self, rhs: Duration) -> <u32 as Mul<Duration>>::Output

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
1.31.0 (const: unstable) · Source§

impl Mul<Duration> for u32

Source§

type Output = Duration

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
§

impl<O> Mul<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the * operator.
§

fn mul(self, rhs: U32<O>) -> U32<O>

Performs the * operation. Read more
","Mul>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Mul for u32

Source§

type Output = u32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
","Mul","table::metadata::TableId"],["
Source§

impl MulAdd for u32

Source§

type Output = u32

The resulting type after applying the fused multiply-add.
Source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd>::Output

Performs the fused multiply-add operation (self * a) + b
","MulAdd","table::metadata::TableId"],["
Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
","MulAddAssign","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl MulAssign<&u32> for u32

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
","MulAssign<&u32>","table::metadata::TableId"],["
§

impl<O> MulAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn mul_assign(&mut self, rhs: U32<O>)

Performs the *= operation. Read more
","MulAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl MulAssign for u32

Source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
","MulAssign","table::metadata::TableId"],["
Source§

impl Name for u32

google.protobuf.UInt32Value

\n
Source§

const NAME: &'static str = "UInt32Value"

Simple name for this Message.\nThis name is the same as it appears in the source .proto file, e.g. FooBar.
Source§

const PACKAGE: &'static str = "google.protobuf"

Package name this message type is contained in. They are domain-like\nand delimited by ., e.g. google.protobuf.
Source§

fn type_url() -> String

Type URL for this Message, which by default is the full name with a\nleading slash, but may also include a leading domain name, e.g.\ntype.googleapis.com/google.profile.Person.\nThis can be used when serializing into the google.protobuf.Any type.
Source§

fn full_name() -> String

Fully-qualified unique name for this Message.\nIt’s prefixed with the package name and names of any parent messages,\ne.g. google.rpc.BadRequest.FieldViolation.\nBy default, this is the package name followed by the message name.\nFully-qualified names must be unique within a domain of Type URLs.
","Name","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Not for u32

Source§

type Output = u32

The resulting type after applying the ! operator.
Source§

fn not(self) -> u32

Performs the unary ! operation. Read more
","Not","table::metadata::TableId"],["
Source§

impl Num for u32

Source§

type FromStrRadixErr = ParseIntError

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
","Num","table::metadata::TableId"],["
Source§

impl NumBufferTrait for u32

Source§

const BUF_SIZE: usize = 10usize

🔬This is a nightly-only experimental API. (int_format_into)
Maximum number of digits in decimal base of the implemented integer.
","NumBufferTrait","table::metadata::TableId"],["
Source§

impl NumCast for u32

Source§

fn from<N>(n: N) -> Option<u32>
where\n N: ToPrimitive,

Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
","NumCast","table::metadata::TableId"],["
§

impl Number for u32

§

const IS_SIGNED: bool = false

If the number is a signed type.
","Number","table::metadata::TableId"],["
§

impl Numeric for u32

§

type Bytes = [u8; 4]

The [u8; N] byte array that stores values of Self.
§

fn to_be_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
§

fn to_le_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nlittle-endian byte order.
§

fn to_ne_bytes(self) -> <u32 as Numeric>::Bytes

Return the memory representation of this number as a byte array in\nnative byte order.
§

fn from_be_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in big\nendian.
§

fn from_le_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its representation as a byte array in little\nendian.
§

fn from_ne_bytes(bytes: <u32 as Numeric>::Bytes) -> u32

Create a numeric value from its memory representation as a byte array in\nnative endianness.
","Numeric","table::metadata::TableId"],["
1.0.0 · Source§

impl Octal for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","Octal","table::metadata::TableId"],["
Source§

impl One for u32

Source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
","One","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Ord for u32

Source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized,

Restrict a value to a certain interval. Read more
","Ord","table::metadata::TableId"],["
Source§

impl OverflowingAdd for u32

Source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingAdd","table::metadata::TableId"],["
Source§

impl OverflowingMul for u32

Source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingMul","table::metadata::TableId"],["
Source§

impl OverflowingSub for u32

Source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
","OverflowingSub","table::metadata::TableId"],["
§

impl ParseHex for u32

§

fn parse_hex(input: &str) -> Result<u32, ParseError>

Parse the value from hex.
","ParseHex","table::metadata::TableId"],["
Source§

impl PartialEq<Value> for u32

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl PartialEq for u32

Source§

fn eq(&self, other: &u32) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &u32) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl PartialOrd for u32

Source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
Source§

fn lt(&self, other: &u32) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
Source§

fn le(&self, other: &u32) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
Source§

fn gt(&self, other: &u32) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
Source§

fn ge(&self, other: &u32) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","table::metadata::TableId"],["
Source§

impl PhfBorrow<u32> for u32

Source§

fn borrow(&self) -> &u32

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow","table::metadata::TableId"],["
Source§

impl PhfHash for u32

Source§

fn phf_hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds the value into the state given, updating the hasher as necessary.
Source§

fn phf_hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the state provided.
","PhfHash","table::metadata::TableId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","table::metadata::TableId"],["
Source§

impl PositiveMeasure for u32

","PositiveMeasure","table::metadata::TableId"],["
Source§

impl<'a> Pow<&'a u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u16>","table::metadata::TableId"],["
Source§

impl<'a> Pow<&'a u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u32>","table::metadata::TableId"],["
Source§

impl<'a> Pow<&'a u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
","Pow<&'a u8>","table::metadata::TableId"],["
Source§

impl<'a> Pow<&'a usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
","Pow<&'a usize>","table::metadata::TableId"],["
Source§

impl<U> Pow<PInt<U>> for u32
where\n U: Unsigned + NonZero,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: PInt<U>) -> <u32 as Pow<PInt<U>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","table::metadata::TableId"],["
Source§

impl<U, B> Pow<UInt<U, B>> for u32
where\n U: Unsigned,\n B: Bit,

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UInt<U, B>) -> <u32 as Pow<UInt<U, B>>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow>","table::metadata::TableId"],["
Source§

impl Pow<UTerm> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: UTerm) -> <u32 as Pow<UTerm>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","table::metadata::TableId"],["
Source§

impl Pow<Z0> for u32

Source§

type Output = u32

The result of the exponentiation.
Source§

fn powi(self, _: Z0) -> <u32 as Pow<Z0>>::Output

This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
","Pow","table::metadata::TableId"],["
Source§

impl Pow<u16> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
","Pow","table::metadata::TableId"],["
Source§

impl Pow<u32> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
","Pow","table::metadata::TableId"],["
Source§

impl Pow<u8> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
","Pow","table::metadata::TableId"],["
Source§

impl Pow<usize> for u32

Source§

type Output = u32

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
","Pow","table::metadata::TableId"],["
Source§

impl PrimInt for u32

Source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
Source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
Source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation\nof self. Read more
Source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation\nof self. Read more
Source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self. Read more
Source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self. Read more
Source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
Source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
Source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
Source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
Source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
Source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
Source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
Source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
Source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
Source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
Source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
Source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
","PrimInt","table::metadata::TableId"],["
1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product<&'a u32>","table::metadata::TableId"],["
1.12.0 · Source§

impl Product for u32

Source§

fn product<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by multiplying\nthe items.
","Product","table::metadata::TableId"],["
§

impl ProtobufValue for u32

§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
§

fn is_non_zero(&self) -> bool

Is value non-zero?
§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
","ProtobufValue","table::metadata::TableId"],["
§

impl ProtobufVarint for u32

§

fn len_varint(&self) -> u32

Size of self when encoded as varint.
","ProtobufVarint","table::metadata::TableId"],["
§

impl Push for u32

§

type Output = u32

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

","Push","table::metadata::TableId"],["
Source§

impl RangePattern for u32

Source§

const MIN: u32 = 0u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

const MAX: u32 = 4_294_967_295u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
Trait version of the inherent MIN assoc const.
Source§

fn sub_one(self) -> u32

🔬This is a nightly-only experimental API. (pattern_type_range_trait)
A compile-time helper to subtract 1 for exclusive ranges.
","RangePattern","table::metadata::TableId"],["
§

impl ReaderOffset for u32

§

fn from_u8(offset: u8) -> u32

Convert a u8 to an offset.
§

fn from_u16(offset: u16) -> u32

Convert a u16 to an offset.
§

fn from_i16(offset: i16) -> u32

Convert an i16 to an offset.
§

fn from_u32(offset: u32) -> u32

Convert a u32 to an offset.
§

fn from_u64(offset64: u64) -> Result<u32, Error>

Convert a u64 to an offset. Read more
§

fn into_u64(self) -> u64

Convert an offset to a u64.
§

fn wrapping_add(self, other: u32) -> u32

Wrapping (modular) addition. Computes self + other.
§

fn checked_sub(self, other: u32) -> Option<u32>

Checked subtraction. Computes self - other.
","ReaderOffset","table::metadata::TableId"],["
Source§

impl<'a> Rem<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&'a BigInt>","table::metadata::TableId"],["
Source§

impl Rem<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigInt) -> BigInt

Performs the % operation. Read more
","Rem<&BigInt>","table::metadata::TableId"],["
Source§

impl<'a> Rem<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&'a BigUint>","table::metadata::TableId"],["
Source§

impl Rem<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

fn rem(self, other: &BigUint) -> BigUint

Performs the % operation. Read more
","Rem<&BigUint>","table::metadata::TableId"],["
Source§

impl<'a> Rem<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
","Rem<&'a Complex>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Rem<&u32> for u32

Source§

type Output = <u32 as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &u32) -> <u32 as Rem>::Output

Performs the % operation. Read more
","Rem<&u32>","table::metadata::TableId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","table::metadata::TableId"],["
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","table::metadata::TableId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","table::metadata::TableId"],["
Source§

impl Rem<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","table::metadata::TableId"],["
Source§

impl Rem<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
","Rem>","table::metadata::TableId"],["
1.51.0 (const: unstable) · Source§

impl Rem<NonZero<u32>> for u32

Source§

fn rem(self, other: NonZero<u32>) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
","Rem>","table::metadata::TableId"],["
§

impl<O> Rem<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the % operator.
§

fn rem(self, rhs: U32<O>) -> U32<O>

Performs the % operation. Read more
","Rem>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Rem for u32

This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

\n

§Panics

\n

This operation will panic if other == 0.

\n
Source§

type Output = u32

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
","Rem","table::metadata::TableId"],["
Source§

impl<'a> RemAssign<&'a BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&'a BigUint>","table::metadata::TableId"],["
Source§

impl RemAssign<&BigUint> for u32

Source§

fn rem_assign(&mut self, other: &BigUint)

Performs the %= operation. Read more
","RemAssign<&BigUint>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl RemAssign<&u32> for u32

Source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
","RemAssign<&u32>","table::metadata::TableId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","table::metadata::TableId"],["
Source§

impl RemAssign<BigUint> for u32

Source§

fn rem_assign(&mut self, other: BigUint)

Performs the %= operation. Read more
","RemAssign","table::metadata::TableId"],["
1.79.0 (const: unstable) · Source§

impl RemAssign<NonZero<u32>> for u32

Source§

fn rem_assign(&mut self, other: NonZero<u32>)

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

\n
","RemAssign>","table::metadata::TableId"],["
§

impl<O> RemAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn rem_assign(&mut self, rhs: U32<O>)

Performs the %= operation. Read more
","RemAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl RemAssign for u32

Source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
","RemAssign","table::metadata::TableId"],["
Source§

impl Roots for u32

Source§

fn nth_root(&self, n: u32) -> u32

Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
Source§

fn sqrt(&self) -> u32

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
Source§

fn cbrt(&self) -> u32

Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
","Roots","table::metadata::TableId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","table::metadata::TableId"],["
Source§

impl SampleUniform for u32

Source§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
","SampleUniform","table::metadata::TableId"],["
Source§

impl Saturating for u32

Source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
Source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
","Saturating","table::metadata::TableId"],["
Source§

impl SaturatingAdd for u32

Source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingAdd","table::metadata::TableId"],["
Source§

impl SaturatingMul for u32

Source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingMul","table::metadata::TableId"],["
Source§

impl SaturatingSub for u32

Source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
","SaturatingSub","table::metadata::TableId"],["
§

impl Scalar for u32

§

type VectorType = PrimitiveVector<UInt32Type>

§

type RefType<'a> = u32

§

fn as_scalar_ref(&self) -> u32

Get a reference of the current value.
§

fn upcast_gat<'short, 'long>(long: u32) -> u32
where\n 'long: 'short,

Upcast GAT type’s lifetime.
","Scalar","table::metadata::TableId"],["
§

impl<'a> ScalarRef<'a> for u32

Implement [ScalarRef] for primitive types. Note that primitive types are both [Scalar] and [ScalarRef].

\n
§

type ScalarType = u32

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> u32

Convert the reference into an owned value.
","ScalarRef<'a>","table::metadata::TableId"],["
§

impl SeekNum for u32

§

fn from_block_byte<T>(block: T, byte: u8, bs: u8) -> Result<u32, OverflowError>
where\n T: Counter,

Try to get position for block number block, byte position inside\nblock byte, and block size bs.
§

fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
where\n T: Counter,

Try to get block number and bytes position for given block size bs.
","SeekNum","table::metadata::TableId"],["
Source§

impl Serialize for u32

Source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

Source§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
","Shl<&i128>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

Source§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
","Shl<&i16>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

Source§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
","Shl<&i32>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

Source§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
","Shl<&i64>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

Source§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
","Shl<&i8>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

Source§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
","Shl<&isize>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

Source§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
","Shl<&u128>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

Source§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
","Shl<&u16>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

Source§

type Output = <u32 as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <u32 as Shl>::Output

Performs the << operation. Read more
","Shl<&u32>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

Source§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
","Shl<&u64>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

Source§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
","Shl<&u8>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

Source§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
","Shl<&usize>","table::metadata::TableId"],["
§

impl<O> Shl<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the << operator.
§

fn shl(self, rhs: U32<O>) -> U32<O>

Performs the << operation. Read more
","Shl>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

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

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shl for u32

Source§

type Output = u32

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
","Shl","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i128> for u32

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
","ShlAssign<&i128>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i16> for u32

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
","ShlAssign<&i16>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i32> for u32

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
","ShlAssign<&i32>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i64> for u32

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
","ShlAssign<&i64>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&i8> for u32

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
","ShlAssign<&i8>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&isize> for u32

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
","ShlAssign<&isize>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u128> for u32

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
","ShlAssign<&u128>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u16> for u32

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
","ShlAssign<&u16>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u32> for u32

Source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
","ShlAssign<&u32>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u64> for u32

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
","ShlAssign<&u64>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&u8> for u32

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
","ShlAssign<&u8>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShlAssign<&usize> for u32

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
","ShlAssign<&usize>","table::metadata::TableId"],["
§

impl<O> ShlAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shl_assign(&mut self, rhs: U32<O>)

Performs the <<= operation. Read more
","ShlAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i128> for u32

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i16> for u32

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i32> for u32

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i64> for u32

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<i8> for u32

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<isize> for u32

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u128> for u32

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u16> for u32

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u64> for u32

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<u8> for u32

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign<usize> for u32

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShlAssign for u32

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
","ShlAssign","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i128> for u32

Source§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
","Shr<&i128>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i16> for u32

Source§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
","Shr<&i16>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i32> for u32

Source§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
","Shr<&i32>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i64> for u32

Source§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
","Shr<&i64>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&i8> for u32

Source§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
","Shr<&i8>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&isize> for u32

Source§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
","Shr<&isize>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u128> for u32

Source§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
","Shr<&u128>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u16> for u32

Source§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
","Shr<&u16>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u32> for u32

Source§

type Output = <u32 as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <u32 as Shr>::Output

Performs the >> operation. Read more
","Shr<&u32>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u64> for u32

Source§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
","Shr<&u64>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&u8> for u32

Source§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
","Shr<&u8>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<&usize> for u32

Source§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
","Shr<&usize>","table::metadata::TableId"],["
§

impl<O> Shr<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the >> operator.
§

fn shr(self, rhs: U32<O>) -> U32<O>

Performs the >> operation. Read more
","Shr>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i32> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

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

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<i8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<isize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u128> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u16> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u64> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<u8> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr<usize> for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Shr for u32

Source§

type Output = u32

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
","Shr","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i128> for u32

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
","ShrAssign<&i128>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i16> for u32

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
","ShrAssign<&i16>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i32> for u32

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
","ShrAssign<&i32>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i64> for u32

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
","ShrAssign<&i64>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&i8> for u32

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
","ShrAssign<&i8>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&isize> for u32

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
","ShrAssign<&isize>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u128> for u32

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
","ShrAssign<&u128>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u16> for u32

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
","ShrAssign<&u16>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u32> for u32

Source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
","ShrAssign<&u32>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u64> for u32

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
","ShrAssign<&u64>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&u8> for u32

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
","ShrAssign<&u8>","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl ShrAssign<&usize> for u32

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
","ShrAssign<&usize>","table::metadata::TableId"],["
§

impl<O> ShrAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn shr_assign(&mut self, rhs: U32<O>)

Performs the >>= operation. Read more
","ShrAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i128> for u32

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i16> for u32

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i32> for u32

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i64> for u32

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<i8> for u32

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<isize> for u32

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u128> for u32

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u16> for u32

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u64> for u32

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<u8> for u32

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign<usize> for u32

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl ShrAssign for u32

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
","ShrAssign","table::metadata::TableId"],["
Source§

impl SimdElement for u32

Source§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
","SimdElement","table::metadata::TableId"],["
§

impl SliceAsBytes for u32

§

fn slice_as_bytes(self_: &[u32]) -> &[u8]

Returns slice of bytes for a slice of this data type.
§

unsafe fn slice_as_bytes_mut(self_: &mut [u32]) -> &mut [u8]

Return the internal representation as a mutable slice Read more
","SliceAsBytes","table::metadata::TableId"],["
§

impl SmartDisplay for u32

§

type Metadata = ()

User-provided metadata type.
§

fn metadata(&self, f: FormatterOptions) -> Metadata<'_, u32>

Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format the value using the given formatter. This is the same as Display::fmt. Read more
§

fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
","SmartDisplay","table::metadata::TableId"],["
§

impl StateID for u32

§

fn from_usize(n: usize) -> u32

Convert from a usize to this implementation’s representation. Read more
§

fn to_usize(self) -> usize

Convert this implementation’s representation to a usize. Read more
§

fn max_id() -> usize

Return the maximum state identifier supported by this representation. Read more
§

fn read_bytes(slice: &[u8]) -> u32

Read a single state identifier from the given slice of bytes in native\nendian format. Read more
§

fn write_bytes(self, slice: &mut [u8])

Write this state identifier to the given slice of bytes in native\nendian format. Read more
","StateID","table::metadata::TableId"],["
Source§

impl Step for u32

Source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
Source§

fn steps_between(start: &u32, end: &u32) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end\nlike Iterator::size_hint(). Read more
Source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor\nof self count times. Read more
Source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
","Step","table::metadata::TableId"],["
§

impl Sub<&BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: &BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub<&BigDecimal>","table::metadata::TableId"],["
Source§

impl<'a> Sub<&'a BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&'a BigInt>","table::metadata::TableId"],["
Source§

impl Sub<&BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigInt) -> BigInt

Performs the - operation. Read more
","Sub<&BigInt>","table::metadata::TableId"],["
Source§

impl<'a> Sub<&'a BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&'a BigUint>","table::metadata::TableId"],["
Source§

impl Sub<&BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

fn sub(self, other: &BigUint) -> BigUint

Performs the - operation. Read more
","Sub<&BigUint>","table::metadata::TableId"],["
Source§

impl<'a> Sub<&'a Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
","Sub<&'a Complex>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Sub<&u32> for u32

Source§

type Output = <u32 as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <u32 as Sub>::Output

Performs the - operation. Read more
","Sub<&u32>","table::metadata::TableId"],["
§

impl Sub<BigDecimal> for u32

§

type Output = BigDecimal

The resulting type after applying the - operator.
§

fn sub(self, rhs: BigDecimal) -> BigDecimal

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
Source§

impl Sub<BigUint> for u32

Source§

type Output = BigUint

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
Source§

impl Sub<Complex<u32>> for u32

Source§

type Output = Complex<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
","Sub>","table::metadata::TableId"],["
§

impl<O> Sub<U32<O>> for u32
where\n O: ByteOrder,

§

type Output = U32<O>

The resulting type after applying the - operator.
§

fn sub(self, rhs: U32<O>) -> U32<O>

Performs the - operation. Read more
","Sub>","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Sub for u32

Source§

type Output = u32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
","Sub","table::metadata::TableId"],["
1.22.0 (const: unstable) · Source§

impl SubAssign<&u32> for u32

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
","SubAssign<&u32>","table::metadata::TableId"],["
§

impl<O> SubAssign<U32<O>> for u32
where\n O: ByteOrder,

§

fn sub_assign(&mut self, rhs: U32<O>)

Performs the -= operation. Read more
","SubAssign>","table::metadata::TableId"],["
1.8.0 (const: unstable) · Source§

impl SubAssign for u32

Source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
","SubAssign","table::metadata::TableId"],["
1.12.0 · Source§

impl<'a> Sum<&'a u32> for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = &'a u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum<&'a u32>","table::metadata::TableId"],["
1.12.0 · Source§

impl Sum for u32

Source§

fn sum<I>(iter: I) -> u32
where\n I: Iterator<Item = u32>,

Takes an iterator and generates Self from the elements by “summing up”\nthe items.
","Sum","table::metadata::TableId"],["
§

impl TimestampLiteral for u32

literal expression containing a u32

\n
§

fn lit_timestamp_nano(&self) -> Expr

","TimestampLiteral","table::metadata::TableId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","table::metadata::TableId"],["
Source§

impl ToBigInt for u32

Source§

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.
","ToBigInt","table::metadata::TableId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","table::metadata::TableId"],["
Source§

impl ToBigUint for u32

Source§

fn to_biguint(&self) -> Option<BigUint>

Converts the value of self to a BigUint.
","ToBigUint","table::metadata::TableId"],["
Source§

impl ToBytes for u32

Source§

type Bytes = [u8; 4]

Source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
Source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
Source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
","ToBytes","table::metadata::TableId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","table::metadata::TableId"],["
§

impl ToLexical for u32

§

fn to_lexical(self, bytes: &mut [u8]) -> &mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexical","table::metadata::TableId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","table::metadata::TableId"],["
§

impl ToLexicalWithOptions for u32

§

type Options = Options

Custom formatting options for writing a number.
§

fn to_lexical_with_options<'a, const FORMAT: u128>(\n self,\n bytes: &'a mut [u8],\n options: &<u32 as ToLexicalWithOptions>::Options,\n) -> &'a mut [u8]

Serializer for a number-to-string conversion. Read more
","ToLexicalWithOptions","table::metadata::TableId"],["
Source§

impl ToPrimitive for u32

Source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
Source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
Source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
Source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
Source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
Source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
Source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
Source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
Source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
Source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
Source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
Source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
Source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
","ToPrimitive","table::metadata::TableId"],["
§

impl ToSql for u32

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","table::metadata::TableId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","table::metadata::TableId"],["
§

impl ToUsize for u32

§

fn to_usize(&self) -> usize

converts self to usize
","ToUsize","table::metadata::TableId"],["
§

impl TrieValue for u32

§

type TryFromU32Error = Infallible

Last-resort fallback value to return if we cannot read data from the trie. Read more
§

fn try_from_u32(i: u32) -> Result<u32, <u32 as TrieValue>::TryFromU32Error>

A parsing function that is primarily motivated by deserialization contexts.\nWhen the serialization type width is smaller than 32 bits, then it is expected\nthat the call site will widen the value to a u32 first.
§

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through\n[Self::try_from_u32()]. The default implementation of this trait\nmethod panics in debug mode and returns 0 in release mode. Read more
","TrieValue","table::metadata::TableId"],["
Source§

impl TryFrom<&BigInt> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigInt) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigInt>","table::metadata::TableId"],["
Source§

impl TryFrom<&BigUint> for u32

Source§

type Error = TryFromBigIntError<()>

The type returned in the event of a conversion error.
Source§

fn try_from(value: &BigUint) -> Result<u32, TryFromBigIntError<()>>

Performs the conversion.
","TryFrom<&BigUint>","table::metadata::TableId"],["
§

impl TryFrom<AnyRef<'_>> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(any: AnyRef<'_>) -> Result<u32, Error>

Performs the conversion.
","TryFrom>","table::metadata::TableId"],["
Source§

impl TryFrom<BigInt> for u32

Source§

type Error = TryFromBigIntError<BigInt>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigInt) -> Result<u32, TryFromBigIntError<BigInt>>

Performs the conversion.
","TryFrom","table::metadata::TableId"],["
Source§

impl TryFrom<BigUint> for u32

Source§

type Error = TryFromBigIntError<BigUint>

The type returned in the event of a conversion error.
Source§

fn try_from(value: BigUint) -> Result<u32, TryFromBigIntError<BigUint>>

Performs the conversion.
","TryFrom","table::metadata::TableId"],["
§

impl TryFrom<Decimal> for u32

Try to convert a Decimal to u32 by truncating and returning the integer component.

\n

Can fail if the Decimal is out of range for u32.

\n
§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(t: Decimal) -> Result<u32, Error>

Performs the conversion.
","TryFrom","table::metadata::TableId"],["
§

impl TryFrom<ScalarValue> for u32

§

type Error = DataFusionError

The type returned in the event of a conversion error.
§

fn try_from(value: ScalarValue) -> Result<u32, DataFusionError>

Performs the conversion.
","TryFrom","table::metadata::TableId"],["
§

impl TryFrom<Value> for u32

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(from: Value) -> Result<u32, <u32 as TryFrom<Value>>::Error>

Performs the conversion.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i128> for u32

Source§

fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i16> for u32

Source§

fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i32> for u32

Source§

fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i64> for u32

Source§

fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<i8> for u32

Source§

fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<isize> for u32

Source§

fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u128> for u32

Source§

fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<u64> for u32

Source§

fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
1.34.0 (const: unstable) · Source§

impl TryFrom<usize> for u32

Source§

fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>

Tries to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

\n
Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
","TryFrom","table::metadata::TableId"],["
§

impl TryFromBytes for u32

§

fn try_ref_from_bytes(\n source: &[u8],\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix(\n source: &[u8],\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes(\n bytes: &mut [u8],\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without\ncopying. Read more
§

fn try_mut_from_prefix(\n source: &mut [u8],\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix(\n source: &mut [u8],\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length\nequal to count. Read more
§

fn try_ref_from_prefix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems(\n source: &[u8],\n count: usize,\n) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with\na DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST\nlength equal to count. Read more
§

fn try_mut_from_prefix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems(\n source: &mut [u8],\n count: usize,\n) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where\n Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self\nwith a DST length equal to count. Read more
§

fn try_read_from_bytes(\n source: &[u8],\n) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix(\n source: &[u8],\n) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix(\n source: &[u8],\n) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where\n Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
","TryFromBytes","table::metadata::TableId"],["
§

impl TryIntoF64 for u32

§

fn try_as_f64(&self) -> Result<Option<f64>, DataFusionError>

A fallible conversion of a possibly null self into a f64. Read more
","TryIntoF64","table::metadata::TableId"],["
§

impl Unsigned for u32

§

fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some k.
§

fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self. Read more
§

fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
","Unsigned","table::metadata::TableId"],["
1.42.0 · Source§

impl UpperExp for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","UpperExp","table::metadata::TableId"],["
1.0.0 · Source§

impl UpperHex for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format unsigned integers in the radix.

\n
","UpperHex","table::metadata::TableId"],["
§

impl Value for u32

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.
","Value","table::metadata::TableId"],["
§

impl ValueOrd for u32

§

fn value_cmp(&self, other: &u32) -> Result<Ordering, Error>

Return an Ordering between value portion of TLV-encoded self and\nother when serialized as ASN.1 DER.
","ValueOrd","table::metadata::TableId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","table::metadata::TableId"],["
§

impl VarInt for u32

§

fn required_space(self) -> usize

Returns the number of bytes this number needs in its encoded form. Note: This varies\ndepending on the actual number you want to encode.
§

fn decode_var(src: &[u8]) -> Option<(u32, usize)>

Decode a value from the slice. Returns the value and the number of bytes read from the\nslice (can be used to read several consecutive values from a big slice)\nreturn None if all bytes has MSB set.
§

fn encode_var(self, dst: &mut [u8]) -> usize

Encode a value into the slice. The slice must be at least required_space() bytes long.\nThe number of bytes taken by the encoded integer is returned.
§

fn encode_var_vec(self) -> Vec<u8>

Helper: Encode a value and return the encoded form as Vec. The Vec must be at least\nrequired_space() bytes long.
","VarInt","table::metadata::TableId"],["
§

impl Verifiable for u32

§

fn run_verifier<'opts, 'buf>(\n v: &mut Verifier<'opts, 'buf>,\n pos: usize,\n) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer.\nShould not need to be called directly.
","Verifiable","table::metadata::TableId"],["
§

impl Visit for u32

§

fn visit<V>(&self, _visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","table::metadata::TableId"],["
§

impl VisitMut for u32

§

fn visit<V>(\n &mut self,\n _visitor: &mut V,\n) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","table::metadata::TableId"],["
Source§

impl Weight for u32

Source§

const ZERO: u32 = 0u32

Representation of 0
Source§

fn checked_add_assign(&mut self, v: &u32) -> Result<(), ()>

Checked addition Read more
","Weight","table::metadata::TableId"],["
§

impl WrapperType for u32

§

type LogicalType = UInt32Type

Logical primitive type that this wrapper type belongs to.
§

type Native = u32

The underlying native type.
§

fn from_native(value: <u32 as WrapperType>::Native) -> u32

Convert native type into this wrapper type.
§

fn into_native(self) -> <u32 as WrapperType>::Native

Convert this wrapper type into native type.
","WrapperType","table::metadata::TableId"],["
Source§

impl WrappingAdd for u32

Source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
","WrappingAdd","table::metadata::TableId"],["
Source§

impl WrappingMul for u32

Source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
","WrappingMul","table::metadata::TableId"],["
Source§

impl WrappingNeg for u32

Source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
","WrappingNeg","table::metadata::TableId"],["
Source§

impl WrappingShl for u32

Source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShl","table::metadata::TableId"],["
Source§

impl WrappingShr for u32

Source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
","WrappingShr","table::metadata::TableId"],["
Source§

impl WrappingSub for u32

Source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
","WrappingSub","table::metadata::TableId"],["
§

impl WriteHex for u32

§

fn write_hex<W>(&self, writer: W) -> Result<(), Error>
where\n W: Write,

Write the value as hex.
","WriteHex","table::metadata::TableId"],["
§

impl WriteTomlValue for u32

§

fn write_toml_value<W>(&self, writer: &mut W) -> Result<(), Error>
where\n W: TomlWrite + ?Sized,

","WriteTomlValue","table::metadata::TableId"],["
§

impl Writeable for u32

§

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where\n W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
§

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§

fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
where\n S: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
§

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
","Writeable","table::metadata::TableId"],["
§

impl<'a> Yokeable<'a> for u32

§

type Output = u32

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&self) -> &<u32 as Yokeable<'a>>::Output

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> <u32 as Yokeable<'a>>::Output

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(this: <u32 as Yokeable<'a>>::Output) -> u32

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <u32 as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","table::metadata::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
","Zero","table::metadata::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","table::metadata::TableId"],["
Source§

impl Zero for u32

Source§

fn zero() -> u32

Return the singleton object which can be used as a sentinel value.
Source§

fn is_zero(&self) -> bool

Return true if self is equal to the sentinel value.
","Zero","table::metadata::TableId"],["
§

impl<'a> ZeroFrom<'a, u32> for u32

§

fn zero_from(this: &'a u32) -> u32

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'a, u32>","table::metadata::TableId"],["
§

impl<'a> ZeroMapKV<'a> for u32

§

type Container = ZeroVec<'a, u32>

The container that can be used with this type: [ZeroVec] or [VarZeroVec].
§

type Slice = ZeroSlice<u32>

§

type GetType = <u32 as AsULE>::ULE

The type produced by Container::get() Read more
§

type OwnedType = u32

The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
","ZeroMapKV<'a>","table::metadata::TableId"],["
§

impl Zeroable for u32

§

fn zeroed() -> Self

","Zeroable","table::metadata::TableId"],["
Source§

impl u32

Source

pub fn format_into(self, buf: &mut NumBuffer<u32>) -> &str

🔬This is a nightly-only experimental API. (int_format_into)

Allows users to write an integer (in signed decimal format) into a variable buf of\ntype NumBuffer that is passed by the caller by mutable reference.

\n
§Examples
\n
#![feature(int_format_into)]\nuse core::fmt::NumBuffer;\n\nlet n = 0u32;\nlet mut buf = NumBuffer::new();\nassert_eq!(n.format_into(&mut buf), \"0\");\n\nlet n1 = 32u32;\nassert_eq!(n1.format_into(&mut buf), \"32\");\n\nlet n2 = u32 :: MAX;\nassert_eq!(n2.format_into(&mut buf), u32 :: MAX.to_string());
",0,"table::metadata::TableId"],["
Source§

impl u32

1.43.0 · Source

pub const MIN: u32 = 0u32

The smallest value that can be represented by this integer type.

\n
§Examples
\n
assert_eq!(u32::MIN, 0);
1.43.0 · Source

pub const MAX: u32 = 4_294_967_295u32

The largest value that can be represented by this integer type\n(232 − 1).

\n
§Examples
\n
assert_eq!(u32::MAX, 4294967295);
1.53.0 · Source

pub const BITS: u32 = 32u32

The size of this integer type in bits.

\n
§Examples
\n
assert_eq!(u32::BITS, 32);
1.0.0 (const: 1.32.0) · Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self.

\n
§Examples
\n
let n = 0b01001100u32;\nassert_eq!(n.count_ones(), 3);\n\nlet max = u32::MAX;\nassert_eq!(max.count_ones(), 32);\n\nlet zero = 0u32;\nassert_eq!(zero.count_ones(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self.

\n
§Examples
\n
let zero = 0u32;\nassert_eq!(zero.count_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.count_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self.

\n

Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

\n
§Examples
\n
let n = u32::MAX >> 2;\nassert_eq!(n.leading_zeros(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_zeros(), 0);
1.0.0 (const: 1.32.0) · Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation\nof self.

\n
§Examples
\n
let n = 0b0101000u32;\nassert_eq!(n.trailing_zeros(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_zeros(), 32);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_zeros(), 0);
1.46.0 (const: 1.46.0) · Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self.

\n
§Examples
\n
let n = !(u32::MAX >> 2);\nassert_eq!(n.leading_ones(), 2);\n\nlet zero = 0u32;\nassert_eq!(zero.leading_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.leading_ones(), 32);
1.46.0 (const: 1.46.0) · Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation\nof self.

\n
§Examples
\n
let n = 0b1010111u32;\nassert_eq!(n.trailing_ones(), 3);\n\nlet zero = 0u32;\nassert_eq!(zero.trailing_ones(), 0);\n\nlet max = u32::MAX;\nassert_eq!(max.trailing_ones(), 32);
Source

pub const fn bit_width(self) -> u32

🔬This is a nightly-only experimental API. (uint_bit_width)

Returns the minimum number of bits required to represent self.

\n

This method returns zero if self is zero.

\n
§Examples
\n
#![feature(uint_bit_width)]\n\nassert_eq!(0_u32.bit_width(), 0);\nassert_eq!(0b111_u32.bit_width(), 3);\nassert_eq!(0b1110_u32.bit_width(), 4);\nassert_eq!(u32::MAX.bit_width(), 32);
Source

pub const fn isolate_highest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the most significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_highest_one(), 0b_01000000);\nassert_eq!(0_u32.isolate_highest_one(), 0);
Source

pub const fn isolate_lowest_one(self) -> u32

🔬This is a nightly-only experimental API. (isolate_most_least_significant_one)

Returns self with only the least significant bit set, or 0 if\nthe input is 0.

\n
§Examples
\n
#![feature(isolate_most_least_significant_one)]\n\nlet n: u32 = 0b_01100100;\n\nassert_eq!(n.isolate_lowest_one(), 0b_00000100);\nassert_eq!(0_u32.isolate_lowest_one(), 0);
Source

pub const fn highest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the highest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.highest_one(), None);\nassert_eq!(0x1_u32.highest_one(), Some(0));\nassert_eq!(0x10_u32.highest_one(), Some(4));\nassert_eq!(0x1f_u32.highest_one(), Some(4));
Source

pub const fn lowest_one(self) -> Option<u32>

🔬This is a nightly-only experimental API. (int_lowest_highest_one)

Returns the index of the lowest bit set to one in self, or None\nif self is 0.

\n
§Examples
\n
#![feature(int_lowest_highest_one)]\n\nassert_eq!(0x0_u32.lowest_one(), None);\nassert_eq!(0x1_u32.lowest_one(), Some(0));\nassert_eq!(0x10_u32.lowest_one(), Some(4));\nassert_eq!(0x1f_u32.lowest_one(), Some(0));
1.87.0 (const: 1.87.0) · Source

pub const fn cast_signed(self) -> i32

Returns the bit pattern of self reinterpreted as a signed integer of the same size.

\n

This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

\n
§Examples
\n
let n = u32::MAX;\n\nassert_eq!(n.cast_signed(), -1i32);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

\n

Please note this isn’t the same operation as the << shifting operator!

\n
§Examples
\n
let n = 0x10000b3u32;\nlet m = 0xb301;\n\nassert_eq!(n.rotate_left(8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

\n

Please note this isn’t the same operation as the >> shifting operator!

\n
§Examples
\n
let n = 0xb301u32;\nlet m = 0x10000b3;\n\nassert_eq!(n.rotate_right(8), m);
Source

pub const fn funnel_shl(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a left funnel shift (concatenates self with rhs, with self\nmaking up the most significant half, then shifts the combined value left\nby n, and most significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the << shifting operator or\nrotate_left, although a.funnel_shl(a, n) is equivalent\nto a.rotate_left(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32f;\n\nassert_eq!(a.funnel_shl(b, 8), m);
Source

pub const fn funnel_shr(self, rhs: u32, n: u32) -> u32

🔬This is a nightly-only experimental API. (funnel_shifts)

Performs a right funnel shift (concatenates self and rhs, with self\nmaking up the most significant half, then shifts the combined value right\nby n, and least significant half is extracted to produce the result).

\n

Please note this isn’t the same operation as the >> shifting operator or\nrotate_right, although a.funnel_shr(a, n) is equivalent\nto a.rotate_right(n).

\n
§Panics
\n

If n is greater than or equal to the number of bits in self

\n
§Examples
\n

Basic usage:

\n\n
#![feature(funnel_shifts)]\nlet a = 0x10000b3u32;\nlet b = 0x2fe78e45u32;\nlet m = 0xb32fe78e;\n\nassert_eq!(a.funnel_shr(b, 8), m);
1.0.0 (const: 1.32.0) · Source

pub const fn swap_bytes(self) -> u32

Reverses the byte order of the integer.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x78563412);
1.37.0 (const: 1.37.0) · Source

pub const fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

\n
§Examples
\n
let n = 0x12345678u32;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x1e6a2c48);\nassert_eq!(0, 0u32.reverse_bits());
1.0.0 (const: 1.32.0) · Source

pub const fn from_be(x: u32) -> u32

Converts an integer from big endian to the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(u32::from_be(n), n)\n} else {\n    assert_eq!(u32::from_be(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn from_le(x: u32) -> u32

Converts an integer from little endian to the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(u32::from_le(n), n)\n} else {\n    assert_eq!(u32::from_le(n), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_be(self) -> u32

Converts self to big endian from the target’s endianness.

\n

On big endian this is a no-op. On little endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn to_le(self) -> u32

Converts self to little endian from the target’s endianness.

\n

On little endian this is a no-op. On big endian the bytes are\nswapped.

\n
§Examples
\n
let n = 0x1Au32;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
1.0.0 (const: 1.47.0) · Source

pub const fn checked_add(self, rhs: u32) -> Option<u32>

Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).checked_add(1), Some(u32::MAX - 1));\nassert_eq!((u32::MAX - 2).checked_add(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add(self, rhs: u32) -> u32

Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!((u32::MAX - 2).strict_add(1), u32::MAX - 1);
\n

The following panics because of overflow:

\n\n
let _ = (u32::MAX - 2).strict_add(3);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_add(self, rhs: u32) -> u32

Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

\n
§Safety
\n

This results in undefined behavior when\nself + rhs > u32::MAX or self + rhs < u32::MIN,\ni.e. when checked_add would return None.

\n
1.66.0 (const: 1.66.0) · Source

pub const fn checked_add_signed(self, rhs: i32) -> Option<u32>

Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_add_signed(2), Some(3));\nassert_eq!(1u32.checked_add_signed(-2), None);\nassert_eq!((u32::MAX - 2).checked_add_signed(3), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_add_signed(self, rhs: i32) -> u32

Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_add_signed(2), 3);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_add_signed(-2);
\n
let _ = (u32::MAX - 2).strict_add_signed(3);
1.0.0 (const: 1.47.0) · Source

pub const fn checked_sub(self, rhs: u32) -> Option<u32>

Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub(1), Some(0));\nassert_eq!(0u32.checked_sub(1), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub(self, rhs: u32) -> u32

Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(1u32.strict_sub(1), 0);
\n

The following panics because of overflow:

\n\n
let _ = 0u32.strict_sub(1);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_sub(self, rhs: u32) -> u32

Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

\n

If you find yourself writing code like this:

\n\n
if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
\n

Consider changing it to

\n\n
if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
\n

As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

\n
§Safety
\n

This results in undefined behavior when\nself - rhs > u32::MAX or self - rhs < u32::MIN,\ni.e. when checked_sub would return None.

\n
1.90.0 (const: 1.90.0) · Source

pub const fn checked_sub_signed(self, rhs: i32) -> Option<u32>

Checked subtraction with a signed integer. Computes self - rhs,\nreturning None if overflow occurred.

\n
§Examples
\n
assert_eq!(1u32.checked_sub_signed(2), None);\nassert_eq!(1u32.checked_sub_signed(-2), Some(3));\nassert_eq!((u32::MAX - 2).checked_sub_signed(-4), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_sub_signed(self, rhs: i32) -> u32

Strict subtraction with a signed integer. Computes self - rhs,\npanicking if overflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(3u32.strict_sub_signed(2), 1);
\n

The following panic because of overflow:

\n\n
let _ = 1u32.strict_sub_signed(2);
\n
let _ = (u32::MAX).strict_sub_signed(-1);
1.91.0 (const: 1.91.0) · Source

pub const fn checked_signed_diff(self, rhs: u32) -> Option<i32>

Checked integer subtraction. Computes self - rhs and checks if the result fits into an i32, returning None if overflow occurred.

\n
§Examples
\n
assert_eq!(10u32.checked_signed_diff(2), Some(8));\nassert_eq!(2u32.checked_signed_diff(10), Some(-8));\nassert_eq!(u32::MAX.checked_signed_diff(i32::MAX as u32), None);\nassert_eq!((i32::MAX as u32).checked_signed_diff(u32::MAX), Some(i32::MIN));\nassert_eq!((i32::MAX as u32 + 1).checked_signed_diff(0), None);\nassert_eq!(u32::MAX.checked_signed_diff(u32::MAX), Some(0));
1.0.0 (const: 1.47.0) · Source

pub const fn checked_mul(self, rhs: u32) -> Option<u32>

Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

\n
§Examples
\n
assert_eq!(5u32.checked_mul(1), Some(5));\nassert_eq!(u32::MAX.checked_mul(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_mul(self, rhs: u32) -> u32

Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(5u32.strict_mul(1), 5);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_mul(2);
1.79.0 (const: 1.79.0) · Source

pub const unsafe fn unchecked_mul(self, rhs: u32) -> u32

Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

\n

Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

\n

If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

\n
§Safety
\n

This results in undefined behavior when\nself * rhs > u32::MAX or self * rhs < u32::MIN,\ni.e. when checked_mul would return None.

\n
1.0.0 (const: 1.52.0) · Source

pub const fn checked_div(self, rhs: u32) -> Option<u32>

Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div(2), Some(64));\nassert_eq!(1u32.checked_div(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div(self, rhs: u32) -> u32

Strict integer division. Computes self / rhs.

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_div_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(128u32.checked_div_euclid(2), Some(64));\nassert_eq!(1u32.checked_div_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_div_euclid(self, rhs: u32) -> u32

Strict Euclidean division. Computes self.div_euclid(rhs).

\n

Strict division on unsigned types is just normal division. There’s no\nway overflow could ever happen. This function exists so that all\noperations are accounted for in the strict operations. Since, for the\npositive integers, all common definitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_div_euclid(10), 10);
\n

The following panics because of division by zero:

\n\n
let _ = (1u32).strict_div_euclid(0);
Source

pub const fn checked_exact_div(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs,\nreturning None if rhs == 0 or if self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.checked_exact_div(2), Some(32));\nassert_eq!(64u32.checked_exact_div(32), Some(2));\nassert_eq!(64u32.checked_exact_div(0), None);\nassert_eq!(65u32.checked_exact_div(2), None);
Source

pub const fn exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Checked integer division without remainder. Computes self / rhs.

\n
§Panics
\n

This function will panic if rhs == 0 or self % rhs != 0.

\n
§Examples
\n
#![feature(exact_div)]\nassert_eq!(64u32.exact_div(2), 32);\nassert_eq!(64u32.exact_div(32), 2);
\n
#![feature(exact_div)]\nlet _ = 65u32.exact_div(2);
Source

pub const unsafe fn unchecked_exact_div(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_div)

Unchecked integer division without remainder. Computes self / rhs.

\n
§Safety
\n

This results in undefined behavior when rhs == 0 or self % rhs != 0,\ni.e. when checked_exact_div would return None.

\n
1.7.0 (const: 1.52.0) · Source

pub const fn checked_rem(self, rhs: u32) -> Option<u32>

Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem(2), Some(1));\nassert_eq!(5u32.checked_rem(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem(self, rhs: u32) -> u32

Strict integer remainder. Computes self % rhs.

\n

Strict remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem(0);
1.38.0 (const: 1.52.0) · Source

pub const fn checked_rem_euclid(self, rhs: u32) -> Option<u32>

Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

\n
§Examples
\n
assert_eq!(5u32.checked_rem_euclid(2), Some(1));\nassert_eq!(5u32.checked_rem_euclid(0), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_rem_euclid(self, rhs: u32) -> u32

Strict Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Strict modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way overflow could ever happen.\nThis function exists so that all operations are accounted for in the\nstrict operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.strict_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.strict_rem_euclid(10), 0);
\n

The following panics because of division by zero:

\n\n
let _ = 5u32.strict_rem_euclid(0);
Source

pub const unsafe fn unchecked_disjoint_bitor(self, other: u32) -> u32

🔬This is a nightly-only experimental API. (disjoint_bitor)

Same value as self | other, but UB if any bit position is set in both inputs.

\n

This is a situational micro-optimization for places where you’d rather\nuse addition on some platforms and bitwise or on other platforms, based\non exactly which instructions combine better with whatever else you’re\ndoing. Note that there’s no reason to bother using this for places\nwhere it’s clear from the operations involved that they can’t overlap.\nFor example, if you’re combining u16s into a u32 with\n((a as u32) << 16) | (b as u32), that’s fine, as the backend will\nknow those sides of the | are disjoint without needing help.

\n
§Examples
\n
#![feature(disjoint_bitor)]\n\n// SAFETY: `1` and `4` have no bits in common.\nunsafe {\n    assert_eq!(1_u32.unchecked_disjoint_bitor(4), 5);\n}
§Safety
\n

Requires that (self & other) == 0, otherwise it’s immediate UB.

\n

Equivalently, requires that (self | other) == (self + other).

\n
1.67.0 (const: 1.67.0) · Source

pub const fn ilog(self, base: u32) -> u32

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

\n
§Panics
\n

This function will panic if self is zero, or if base is less than 2.

\n
§Examples
\n
assert_eq!(5u32.ilog(5), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog2(self) -> u32

Returns the base 2 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Examples
\n
assert_eq!(2u32.ilog2(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn ilog10(self) -> u32

Returns the base 10 logarithm of the number, rounded down.

\n
§Panics
\n

This function will panic if self is zero.

\n
§Example
\n
assert_eq!(10u32.ilog10(), 1);
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog(self, base: u32) -> Option<u32>

Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

\n

Returns None if the number is zero, or if the base is not at least 2.

\n

This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

\n
§Examples
\n
assert_eq!(5u32.checked_ilog(5), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base 2 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(2u32.checked_ilog2(), Some(1));
1.67.0 (const: 1.67.0) · Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base 10 logarithm of the number, rounded down.

\n

Returns None if the number is zero.

\n
§Examples
\n
assert_eq!(10u32.checked_ilog10(), Some(1));
1.7.0 (const: 1.47.0) · Source

pub const fn checked_neg(self) -> Option<u32>

Checked negation. Computes -self, returning None unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Examples
\n
assert_eq!(0u32.checked_neg(), Some(0));\nassert_eq!(1u32.checked_neg(), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_neg(self) -> u32

Strict negation. Computes -self, panicking unless self == 0.

\n

Note that negating any positive integer will overflow.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0u32.strict_neg(), 0);
\n

The following panics because of overflow:

\n\n
let _ = 1u32.strict_neg();
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shl(self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x1u32.checked_shl(4), Some(0x10));\nassert_eq!(0x10u32.checked_shl(129), None);\nassert_eq!(0x10u32.checked_shl(31), Some(0));
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shl(self, rhs: u32) -> u32

Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x1u32.strict_shl(4), 0x10);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shl(129);
Source

pub const unsafe fn unchecked_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shl(self, rhs: u32) -> u32

Unbounded shift left. Computes self << rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x1u32.unbounded_shl(4), 0x10);\nassert_eq!(0x1u32.unbounded_shl(129), 0);
Source

pub const fn exact_shl(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift left. Computes self << rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self << rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x1u32.exact_shl(4), Some(0x10));\nassert_eq!(0x1u32.exact_shl(129), None);
Source

pub const unsafe fn unchecked_exact_shl(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift left. Computes self << rhs, assuming the operation can be\nlosslessly reversed rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.leading_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shl\nwould return None.

\n
1.7.0 (const: 1.47.0) · Source

pub const fn checked_shr(self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

\n
§Examples
\n
assert_eq!(0x10u32.checked_shr(4), Some(0x1));\nassert_eq!(0x10u32.checked_shr(129), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_shr(self, rhs: u32) -> u32

Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(0x10u32.strict_shr(4), 0x1);
\n

The following panics because of overflow:

\n\n
let _ = 0x10u32.strict_shr(129);
Source

pub const unsafe fn unchecked_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (unchecked_shifts)

Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

\n
§Safety
\n

This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

\n
1.87.0 (const: 1.87.0) · Source

pub const fn unbounded_shr(self, rhs: u32) -> u32

Unbounded shift right. Computes self >> rhs, without bounding the value of rhs.

\n

If rhs is larger or equal to the number of bits in self,\nthe entire value is shifted out, and 0 is returned.

\n
§Examples
\n
assert_eq!(0x10u32.unbounded_shr(4), 0x1);\nassert_eq!(0x10u32.unbounded_shr(129), 0);
Source

pub const fn exact_shr(self, rhs: u32) -> Option<u32>

🔬This is a nightly-only experimental API. (exact_bitshifts)

Exact shift right. Computes self >> rhs as long as it can be reversed losslessly.

\n

Returns None if any non-zero bits would be shifted out or if rhs >=\nu32::BITS.\nOtherwise, returns Some(self >> rhs).

\n
§Examples
\n
#![feature(exact_bitshifts)]\n\nassert_eq!(0x10u32.exact_shr(4), Some(0x1));\nassert_eq!(0x10u32.exact_shr(5), None);
Source

pub const unsafe fn unchecked_exact_shr(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (exact_bitshifts)

Unchecked exact shift right. Computes self >> rhs, assuming the operation can be\nlosslessly reversed and rhs cannot be larger than\nu32::BITS.

\n
§Safety
\n

This results in undefined behavior when rhs > self.trailing_zeros() || rhs >= u32::BITS\ni.e. when\nu32::exact_shr\nwould return None.

\n
1.34.0 (const: 1.50.0) · Source

pub const fn checked_pow(self, exp: u32) -> Option<u32>

Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

\n
§Examples
\n
assert_eq!(2u32.checked_pow(5), Some(32));\nassert_eq!(u32::MAX.checked_pow(2), None);
1.91.0 (const: 1.91.0) · Source

pub const fn strict_pow(self, exp: u32) -> u32

Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

\n
§Panics
§Overflow behavior
\n

This function will always panic on overflow, regardless of whether overflow checks are enabled.

\n
§Examples
\n
assert_eq!(2u32.strict_pow(5), 32);
\n

The following panics because of overflow:

\n\n
let _ = u32::MAX.strict_pow(2);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_add(self, rhs: u32) -> u32

Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_add(1), 101);\nassert_eq!(u32::MAX.saturating_add(127), u32::MAX);
1.66.0 (const: 1.66.0) · Source

pub const fn saturating_add_signed(self, rhs: i32) -> u32

Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_add_signed(2), 3);\nassert_eq!(1u32.saturating_add_signed(-2), 0);\nassert_eq!((u32::MAX - 2).saturating_add_signed(4), u32::MAX);
1.0.0 (const: 1.47.0) · Source

pub const fn saturating_sub(self, rhs: u32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(100u32.saturating_sub(27), 73);\nassert_eq!(13u32.saturating_sub(127), 0);
1.90.0 (const: 1.90.0) · Source

pub const fn saturating_sub_signed(self, rhs: i32) -> u32

Saturating integer subtraction. Computes self - rhs, saturating at\nthe numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(1u32.saturating_sub_signed(2), 0);\nassert_eq!(1u32.saturating_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).saturating_sub_signed(-4), u32::MAX);
1.7.0 (const: 1.47.0) · Source

pub const fn saturating_mul(self, rhs: u32) -> u32

Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(2u32.saturating_mul(10), 20);\nassert_eq!((u32::MAX).saturating_mul(10), u32::MAX);
1.58.0 (const: 1.58.0) · Source

pub const fn saturating_div(self, rhs: u32) -> u32

Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.saturating_div(2), 2);\n
1.34.0 (const: 1.50.0) · Source

pub const fn saturating_pow(self, exp: u32) -> u32

Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

\n
§Examples
\n
assert_eq!(4u32.saturating_pow(3), 64);\nassert_eq!(u32::MAX.saturating_pow(2), u32::MAX);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_add(self, rhs: u32) -> u32

Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(200u32.wrapping_add(55), 255);\nassert_eq!(200u32.wrapping_add(u32::MAX), 199);
1.66.0 (const: 1.66.0) · Source

pub const fn wrapping_add_signed(self, rhs: i32) -> u32

Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_add_signed(2), 3);\nassert_eq!(1u32.wrapping_add_signed(-2), u32::MAX);\nassert_eq!((u32::MAX - 2).wrapping_add_signed(4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_sub(self, rhs: u32) -> u32

Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(100u32.wrapping_sub(100), 0);\nassert_eq!(100u32.wrapping_sub(u32::MAX), 101);
1.90.0 (const: 1.90.0) · Source

pub const fn wrapping_sub_signed(self, rhs: i32) -> u32

Wrapping (modular) subtraction with a signed integer. Computes\nself - rhs, wrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(1u32.wrapping_sub_signed(2), u32::MAX);\nassert_eq!(1u32.wrapping_sub_signed(-2), 3);\nassert_eq!((u32::MAX - 2).wrapping_sub_signed(-4), 1);
1.0.0 (const: 1.32.0) · Source

pub const fn wrapping_mul(self, rhs: u32) -> u32

Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u8 is used.

\n\n
assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_div(self, rhs: u32) -> u32

Wrapping (modular) division. Computes self / rhs.

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div(10), 10);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_div_euclid(self, rhs: u32) -> u32

Wrapping Euclidean division. Computes self.div_euclid(rhs).

\n

Wrapped division on unsigned types is just normal division. There’s\nno way wrapping could ever happen. This function exists so that all\noperations are accounted for in the wrapping operations. Since, for\nthe positive integers, all common definitions of division are equal,\nthis is exactly equal to self.wrapping_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_div_euclid(10), 10);
1.2.0 (const: 1.52.0) · Source

pub const fn wrapping_rem(self, rhs: u32) -> u32

Wrapping (modular) remainder. Computes self % rhs.

\n

Wrapped remainder calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem(10), 0);
1.38.0 (const: 1.52.0) · Source

pub const fn wrapping_rem_euclid(self, rhs: u32) -> u32

Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).

\n

Wrapped modulo calculation on unsigned types is just the regular\nremainder calculation. There’s no way wrapping could ever happen.\nThis function exists so that all operations are accounted for in the\nwrapping operations. Since, for the positive integers, all common\ndefinitions of division are equal, this is exactly equal to\nself.wrapping_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(100u32.wrapping_rem_euclid(10), 0);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_neg(self) -> u32

Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

\n

Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

\n
§Examples
\n
assert_eq!(0_u32.wrapping_neg(), 0);\nassert_eq!(u32::MAX.wrapping_neg(), 1);\nassert_eq!(13_u32.wrapping_neg(), (!13) + 1);\nassert_eq!(42_u32.wrapping_neg(), !(42 - 1));
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shl(self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(1u32.wrapping_shl(7), 128);\nassert_eq!(1u32.wrapping_shl(128), 1);
1.2.0 (const: 1.32.0) · Source

pub const fn wrapping_shr(self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

\n

Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

\n
§Examples
\n
assert_eq!(128u32.wrapping_shr(7), 1);\nassert_eq!(128u32.wrapping_shr(128), 128);
1.34.0 (const: 1.50.0) · Source

pub const fn wrapping_pow(self, exp: u32) -> u32

Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

\n
§Examples
\n
assert_eq!(3u32.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_add(self, rhs: u32) -> (u32, bool)

Calculates self + rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_add(2), (7, false));\nassert_eq!(u32::MAX.overflowing_add(1), (0, true));
1.91.0 (const: unstable) · Source

pub fn carrying_add(self, rhs: u32, carry: bool) -> (u32, bool)

Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry (in that order).

\n

Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

\n

This can be thought of as a 32-bit “full adder”, in the electronics sense.

\n

If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

\n
§Examples
\n
//    3  MAX    (a = 3 × 2^32 + 2^32 - 1)\n// +  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^32 + 6)\n\nlet (a1, a0): (u32, u32) = (3, u32::MAX);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
1.66.0 (const: 1.66.0) · Source

pub const fn overflowing_add_signed(self, rhs: i32) -> (u32, bool)

Calculates self + rhs with a signed rhs.

\n

Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_add_signed(2), (3, false));\nassert_eq!(1u32.overflowing_add_signed(-2), (u32::MAX, true));\nassert_eq!((u32::MAX - 2).overflowing_add_signed(4), (1, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_sub(self, rhs: u32) -> (u32, bool)

Calculates self - rhs.

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(5u32.overflowing_sub(2), (3, false));\nassert_eq!(0u32.overflowing_sub(1), (u32::MAX, true));
1.91.0 (const: unstable) · Source

pub fn borrowing_sub(self, rhs: u32, borrow: bool) -> (u32, bool)

Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

\n

Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

\n
§Examples
\n
//    9    6    (a = 9 × 2^32 + 6)\n// -  5    7    (b = 5 × 2^32 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^32 + 2^32 - 1)\n\nlet (a1, a0): (u32, u32) = (9, 6);\nlet (b1, b0): (u32, u32) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, u32::MAX));
1.90.0 (const: 1.90.0) · Source

pub const fn overflowing_sub_signed(self, rhs: i32) -> (u32, bool)

Calculates self - rhs with a signed rhs

\n

Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

\n
§Examples
\n
assert_eq!(1u32.overflowing_sub_signed(2), (u32::MAX, true));\nassert_eq!(1u32.overflowing_sub_signed(-2), (3, false));\nassert_eq!((u32::MAX - 2).overflowing_sub_signed(-4), (1, true));
1.60.0 (const: 1.60.0) · Source

pub const fn abs_diff(self, other: u32) -> u32

Computes the absolute difference between self and other.

\n
§Examples
\n
assert_eq!(100u32.abs_diff(80), 20u32);\nassert_eq!(100u32.abs_diff(110), 10u32);
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_mul(self, rhs: u32) -> (u32, bool)

Calculates the multiplication of self and rhs.

\n

Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

\n

If you want the value of the overflow, rather than just whether\nan overflow occurred, see Self::carrying_mul.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
Source

pub const fn widening_mul(self, rhs: u32) -> (u32, u32)

🔬This is a nightly-only experimental API. (bigint_helper_methods)

Calculates the complete double-width product self * rhs.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order. As such,\na.widening_mul(b).0 produces the same result as a.wrapping_mul(b).

\n

If you also need to add a value and carry to the wide result, then you want\nSelf::carrying_mul_add instead.

\n

If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

\n

If you just want to know whether the multiplication overflowed, then you\nwant Self::overflowing_mul instead.

\n
§Examples
\n
#![feature(bigint_helper_methods)]\nassert_eq!(5_u32.widening_mul(7), (35, 0));\nassert_eq!(u32::MAX.widening_mul(u32::MAX), (1, u32::MAX - 1));
\n

Compared to other *_mul methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(u32::widening_mul(1 << 31, 6), (0, 3));\nassert_eq!(u32::overflowing_mul(1 << 31, 6), (0, true));\nassert_eq!(u32::wrapping_mul(1 << 31, 6), 0);\nassert_eq!(u32::checked_mul(1 << 31, 6), None);
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
1.91.0 (const: unstable) · Source

pub fn carrying_mul(self, rhs: u32, carry: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you also need to add a value, then use Self::carrying_mul_add.

\n
§Examples
\n

Please note that this example is shared among integer types, which is why u32 is used.

\n\n
assert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(u32::MAX.carrying_mul(u32::MAX, u32::MAX), (0, u32::MAX));
\n

This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

\n\n
#![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
\n

If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

\n\n
#![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
\n

The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

\n\n
#![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
1.91.0 (const: unstable) · Source

pub fn carrying_mul_add(self, rhs: u32, carry: u32, add: u32) -> (u32, u32)

Calculates the “full multiplication” self * rhs + carry1 + carry2.

\n

This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

\n

This cannot overflow, as the double-width result has exactly enough\nspace for the largest possible result. This is equivalent to how, in\ndecimal, 9 × 9 + 9 + 9 = 81 + 18 = 99 = 9×10⁰ + 9×10¹ = 10² - 1.

\n

Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

\n

If you don’t need the add part, then you can use Self::carrying_mul instead.

\n
§Examples
\n

Please note that this example is shared between integer types,\nwhich explains why u32 is used here.

\n\n
assert_eq!(5u32.carrying_mul_add(2, 0, 0), (10, 0));\nassert_eq!(5u32.carrying_mul_add(2, 10, 10), (30, 0));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 0, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul_add(10, 10, 10), (1410065428, 2));\nassert_eq!(u32::MAX.carrying_mul_add(u32::MAX, u32::MAX, u32::MAX), (u32::MAX, u32::MAX));
\n

This is the core per-digit operation for “grade school” O(n²) multiplication.

\n

Please note that this example is shared between integer types,\nusing u8 for simplicity of the demonstration.

\n\n
fn quadratic_mul<const N: usize>(a: [u8; N], b: [u8; N]) -> [u8; N] {\n    let mut out = [0; N];\n    for j in 0..N {\n        let mut carry = 0;\n        for i in 0..(N - j) {\n            (out[j + i], carry) = u8::carrying_mul_add(a[i], b[j], out[j + i], carry);\n        }\n    }\n    out\n}\n\n// -1 * -1 == 1\nassert_eq!(quadratic_mul([0xFF; 3], [0xFF; 3]), [1, 0, 0]);\n\nassert_eq!(u32::wrapping_mul(0x9e3779b9, 0x7f4a7c15), 0xcffc982d);\nassert_eq!(\n    quadratic_mul(u32::to_le_bytes(0x9e3779b9), u32::to_le_bytes(0x7f4a7c15)),\n    u32::to_le_bytes(0xcffc982d)\n);
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_div(self, rhs: u32) -> (u32, bool)

Calculates the divisor when self is divided by rhs.

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div(2), (2, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_div_euclid(self, rhs: u32) -> (u32, bool)

Calculates the quotient of Euclidean division self.div_euclid(rhs).

\n

Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_div_euclid(2), (2, false));
1.7.0 (const: 1.52.0) · Source

pub const fn overflowing_rem(self, rhs: u32) -> (u32, bool)

Calculates the remainder when self is divided by rhs.

\n

Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem(2), (1, false));
1.38.0 (const: 1.52.0) · Source

pub const fn overflowing_rem_euclid(self, rhs: u32) -> (u32, bool)

Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

\n

Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(5u32.overflowing_rem_euclid(2), (1, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_neg(self) -> (u32, bool)

Negates self in an overflowing fashion.

\n

Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

\n
§Examples
\n
assert_eq!(0u32.overflowing_neg(), (0, false));\nassert_eq!(2u32.overflowing_neg(), (-2i32 as u32, true));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shl(self, rhs: u32) -> (u32, bool)

Shifts self left by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x1u32.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1u32.overflowing_shl(132), (0x10, true));\nassert_eq!(0x10u32.overflowing_shl(31), (0, false));
1.7.0 (const: 1.32.0) · Source

pub const fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Shifts self right by rhs bits.

\n

Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

\n
§Examples
\n
assert_eq!(0x10u32.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10u32.overflowing_shr(132), (0x1, true));
1.34.0 (const: 1.50.0) · Source

pub const fn overflowing_pow(self, exp: u32) -> (u32, bool)

Raises self to the power of exp, using exponentiation by squaring.

\n

Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

\n
§Examples
\n
assert_eq!(3u32.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
1.0.0 (const: 1.50.0) · Source

pub const fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring.

\n
§Examples
\n
assert_eq!(2u32.pow(5), 32);
1.84.0 (const: 1.84.0) · Source

pub const fn isqrt(self) -> u32

Returns the square root of the number, rounded down.

\n
§Examples
\n
assert_eq!(10u32.isqrt(), 3);
1.38.0 (const: 1.52.0) · Source

pub const fn div_euclid(self, rhs: u32) -> u32

Performs Euclidean division.

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.div_euclid(4), 1); // or any other integer type
1.38.0 (const: 1.52.0) · Source

pub const fn rem_euclid(self, rhs: u32) -> u32

Calculates the least remainder of self (mod rhs).

\n

Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7u32.rem_euclid(4), 3); // or any other integer type
Source

pub const fn div_floor(self, rhs: u32) -> u32

🔬This is a nightly-only experimental API. (int_roundings)

Calculates the quotient of self and rhs, rounding the result towards negative infinity.

\n

This is the same as performing self / rhs for all unsigned integers.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
#![feature(int_roundings)]\nassert_eq!(7_u32.div_floor(4), 1);
1.73.0 (const: 1.73.0) · Source

pub const fn div_ceil(self, rhs: u32) -> u32

Calculates the quotient of self and rhs, rounding the result towards positive infinity.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Examples
\n
assert_eq!(7_u32.div_ceil(4), 2);
1.73.0 (const: 1.73.0) · Source

pub const fn next_multiple_of(self, rhs: u32) -> u32

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

\n
§Panics
\n

This function will panic if rhs is zero.

\n
§Overflow behavior
\n

On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

\n
§Examples
\n
assert_eq!(16_u32.next_multiple_of(8), 16);\nassert_eq!(23_u32.next_multiple_of(8), 24);
1.73.0 (const: 1.73.0) · Source

pub const fn checked_next_multiple_of(self, rhs: u32) -> Option<u32>

Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

\n
§Examples
\n
assert_eq!(16_u32.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_u32.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_u32.checked_next_multiple_of(0), None);\nassert_eq!(u32::MAX.checked_next_multiple_of(2), None);
1.87.0 (const: 1.87.0) · Source

pub const fn is_multiple_of(self, rhs: u32) -> bool

Returns true if self is an integer multiple of rhs, and false otherwise.

\n

This function is equivalent to self % rhs == 0, except that it will not panic\nfor rhs == 0. Instead, 0.is_multiple_of(0) == true, and for any non-zero n,\nn.is_multiple_of(0) == false.

\n
§Examples
\n
assert!(6_u32.is_multiple_of(2));\nassert!(!5_u32.is_multiple_of(2));\n\nassert!(0_u32.is_multiple_of(0));\nassert!(!6_u32.is_multiple_of(0));
1.0.0 (const: 1.32.0) · Source

pub const fn is_power_of_two(self) -> bool

Returns true if and only if self == 2^k for some unsigned integer k.

\n
§Examples
\n
assert!(16u32.is_power_of_two());\nassert!(!10u32.is_power_of_two());
1.0.0 (const: 1.50.0) · Source

pub const fn next_power_of_two(self) -> u32

Returns the smallest power of two greater than or equal to self.

\n

When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

\n
§Examples
\n
assert_eq!(2u32.next_power_of_two(), 2);\nassert_eq!(3u32.next_power_of_two(), 4);\nassert_eq!(0u32.next_power_of_two(), 1);
1.0.0 (const: 1.50.0) · Source

pub const fn checked_next_power_of_two(self) -> Option<u32>

Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

\n
§Examples
\n
assert_eq!(2u32.checked_next_power_of_two(), Some(2));\nassert_eq!(3u32.checked_next_power_of_two(), Some(4));\nassert_eq!(u32::MAX.checked_next_power_of_two(), None);
Source

pub const fn wrapping_next_power_of_two(self) -> u32

🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

\n
§Examples
\n
#![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2u32.wrapping_next_power_of_two(), 2);\nassert_eq!(3u32.wrapping_next_power_of_two(), 4);\nassert_eq!(u32::MAX.wrapping_next_power_of_two(), 0);
1.32.0 (const: 1.44.0) · Source

pub const fn to_be_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_le_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nlittle-endian byte order.

\n
§Examples
\n
let bytes = 0x12345678u32.to_le_bytes();\nassert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
1.32.0 (const: 1.44.0) · Source

pub const fn to_ne_bytes(self) -> [u8; 4]

Returns the memory representation of this integer as a byte array in\nnative byte order.

\n

As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

\n
§Examples
\n
let bytes = 0x12345678u32.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78]\n    } else {\n        [0x78, 0x56, 0x34, 0x12]\n    }\n);
1.32.0 (const: 1.44.0) · Source

pub const fn from_be_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in big endian.

\n
§Examples
\n
let value = u32::from_be_bytes([0x12, 0x34, 0x56, 0x78]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_be_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_be_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_le_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its representation\nas a byte array in little endian.

\n
§Examples
\n
let value = u32::from_le_bytes([0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_le_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_le_bytes(int_bytes.try_into().unwrap())\n}
1.32.0 (const: 1.44.0) · Source

pub const fn from_ne_bytes(bytes: [u8; 4]) -> u32

Creates a native endian integer value from its memory representation\nas a byte array in native endianness.

\n

As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

\n
§Examples
\n
let value = u32::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78]\n} else {\n    [0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x12345678);
\n

When starting from a slice rather than an array, fallible conversion APIs can be used:

\n\n
fn read_ne_u32(input: &mut &[u8]) -> u32 {\n    let (int_bytes, rest) = input.split_at(size_of::<u32>());\n    *input = rest;\n    u32::from_ne_bytes(int_bytes.try_into().unwrap())\n}
1.0.0 (const: 1.32.0) · Source

pub const fn min_value() -> u32

👎Deprecating in a future version: replaced by the MIN associated constant on this type

New code should prefer to use\nu32::MIN instead.

\n

Returns the smallest value that can be represented by this integer type.

\n
1.0.0 (const: 1.32.0) · Source

pub const fn max_value() -> u32

👎Deprecating in a future version: replaced by the MAX associated constant on this type

New code should prefer to use\nu32::MAX instead.

\n

Returns the largest value that can be represented by this integer type.

\n
1.85.0 (const: 1.85.0) · Source

pub const fn midpoint(self, rhs: u32) -> u32

Calculates the midpoint (average) between self and rhs.

\n

midpoint(a, b) is (a + b) / 2 as if it were performed in a\nsufficiently-large unsigned integral type. This implies that the result is\nalways rounded towards zero and that no overflow will ever occur.

\n
§Examples
\n
assert_eq!(0u32.midpoint(4), 2);\nassert_eq!(1u32.midpoint(4), 2);
",0,"table::metadata::TableId"],["
Source§

impl u32

1.0.0 (const: 1.82.0) · Source

pub const fn from_str_radix(src: &str, radix: u32) -> Result<u32, ParseIntError>

Parses an integer from a string slice with digits in a given base.

\n

The string is expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
assert_eq!(u32::from_str_radix(\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_str_radix(\"1 \", 10).is_err());
Source

pub const fn from_ascii(src: &[u8]) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with decimal digits.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii(b\"+10\"), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii(b\"1 \").is_err());
Source

pub const fn from_ascii_radix(\n src: &[u8],\n radix: u32,\n) -> Result<u32, ParseIntError>

🔬This is a nightly-only experimental API. (int_from_ascii)

Parses an integer from an ASCII-byte slice with digits in a given base.

\n

The characters are expected to be an optional\n+\nsign followed by only digits. Leading and trailing non-digit characters (including\nwhitespace) represent an error. Underscores (which are accepted in Rust literals)\nalso represent an error.

\n

Digits are a subset of these characters, depending on radix:

\n
    \n
  • 0-9
  • \n
  • a-z
  • \n
  • A-Z
  • \n
\n
§Panics
\n

This function panics if radix is not in the range from 2 to 36.

\n
§Examples
\n
#![feature(int_from_ascii)]\n\nassert_eq!(u32::from_ascii_radix(b\"A\", 16), Ok(10));
\n

Trailing space returns error:

\n\n
assert!(u32::from_ascii_radix(b\"1 \", 10).is_err());
",0,"table::metadata::TableId"],["
§

impl AtLeast16 for u32

","AtLeast16","table::metadata::TableId"],["
§

impl AtLeast32 for u32

","AtLeast32","table::metadata::TableId"],["
§

impl AtLeast8 for u32

","AtLeast8","table::metadata::TableId"],["
§

impl AtMost128 for u32

","AtMost128","table::metadata::TableId"],["
§

impl AtMost32 for u32

","AtMost32","table::metadata::TableId"],["
§

impl AtMost64 for u32

","AtMost64","table::metadata::TableId"],["
§

impl BitOps for u32

","BitOps","table::metadata::TableId"],["
Source§

impl ConstParamTy_ for u32

","ConstParamTy_","table::metadata::TableId"],["
1.0.0 · Source§

impl Copy for u32

","Copy","table::metadata::TableId"],["
§

impl Counter for u32

","Counter","table::metadata::TableId"],["
§

impl DefaultIsZeroes for u32

","DefaultIsZeroes","table::metadata::TableId"],["
1.0.0 (const: unstable) · Source§

impl Eq for u32

","Eq","table::metadata::TableId"],["
§

impl EqULE for u32

","EqULE","table::metadata::TableId"],["
§

impl ExtendTarget<u128> for u32

","ExtendTarget","table::metadata::TableId"],["
§

impl ExtendTarget<u32> for u32

","ExtendTarget","table::metadata::TableId"],["
§

impl ExtendTarget<u64> for u32

","ExtendTarget","table::metadata::TableId"],["
Source§

impl Format for u32

Serialize into a u32

\n
","Format","table::metadata::TableId"],["
§

impl HexUint for u32

","HexUint","table::metadata::TableId"],["
§

impl Immutable for u32

","Immutable","table::metadata::TableId"],["
§

impl Integer for u32

","Integer","table::metadata::TableId"],["
§

impl Is32 for u32

","Is32","table::metadata::TableId"],["
§

impl NumericOps for u32

","NumericOps","table::metadata::TableId"],["
§

impl Pod for u32

","Pod","table::metadata::TableId"],["
§

impl Pod for u32

","Pod","table::metadata::TableId"],["
§

impl Primitive for u32

","Primitive","table::metadata::TableId"],["
Source§

impl SimdCast for u32

","SimdCast","table::metadata::TableId"],["
§

impl SimpleToVerifyInSlice for u32

","SimpleToVerifyInSlice","table::metadata::TableId"],["
Source§

impl StructuralPartialEq for u32

","StructuralPartialEq","table::metadata::TableId"],["
§

impl TruncateTarget<u16> for u32

","TruncateTarget","table::metadata::TableId"],["
§

impl TruncateTarget<u32> for u32

","TruncateTarget","table::metadata::TableId"],["
§

impl TruncateTarget<u8> for u32

","TruncateTarget","table::metadata::TableId"],["
Source§

impl TrustedStep for u32

","TrustedStep","table::metadata::TableId"],["
§

impl Uint for u32

","Uint","table::metadata::TableId"],["
Source§

impl Unsigned for u32

","Unsigned","table::metadata::TableId"],["
§

impl UnsignedInteger for u32

","UnsignedInteger","table::metadata::TableId"],["
Source§

impl UseCloned for u32

","UseCloned","table::metadata::TableId"],["
Source§

impl VaArgSafe for u32

","VaArgSafe","table::metadata::TableId"],["
Source§

impl Weight for u32

","Weight","table::metadata::TableId"],["
Source§

impl ZeroablePrimitive for u32

","ZeroablePrimitive","table::metadata::TableId"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() //{"start":55,"fragment_lengths":[1512584,1507594,1749753,1825727,1457075,1463037]}