numext_fixed_uint

Struct U520

Source
pub struct U520(pub [u8; 65]);
Expand description

Fixed non-negative integer type.

Tuple Fields§

§0: [u8; 65]

Implementations§

Source§

impl U520

Source

pub const fn zero() -> U520

Create a new fixed uint and value is zero.

Source

pub const fn one() -> U520

Create a new fixed uint and value is one.

Source

pub fn is_zero(&self) -> bool

Test if a fixed uint is zero.

Source

pub fn is_max(&self) -> bool

Test if a fixed uint is the max value.

Source

pub const fn count_bits() -> u64

Return the count of bits.

Source

pub fn bit(&self, index: usize) -> Option<bool>

Return a specific bit, or return None when overlows.

Source

pub fn set_bit(&mut self, index: usize, value: bool) -> bool

Set a specific bit. Return false when overflows.

Source

pub fn highest_one(&self) -> Option<usize>

Return the highest bit which is one.

Source

pub fn lowest_one(&self) -> Option<usize>

Return the lowest bit which is one.

Source

pub const fn count_bytes() -> u64

Return the count of bytes.

Source

pub fn byte(&self, index: usize) -> Option<u8>

Return a specific byte, or return None when overlows.

Source

pub fn set_byte(&mut self, index: usize, byte: u8) -> bool

Set a specific byte. Return false when overflows;

Source

pub fn highest_nonzero_byte(&self) -> Option<usize>

Return the highest byte which is nonzero.

Source

pub fn lowest_nonzero_byte(&self) -> Option<usize>

Return the lowest byte which is nonzero.

Source

pub fn complete_mul(&self, other: &U520) -> (U520, U520)

Calculates the multiplication of self and other.

Returns a tuple: (low, high), low is the low part of the multiplication, high is the low part of the multiplication.

The multiplication is equal to (high << Self::count_bits()) + low.

Source

pub fn complete_div(&self, other: &U520) -> (U520, U520)

Calculates both the quotient and the remainder when self is divided by other.

Returns a tuple: (quotient, remainder).

The self is equal to quotient * other + remainder.

Source

pub const fn size_of() -> usize

Return the size used by this type in bytes, actually.

This size is greater than or equal to the bytes of this fixed type.

Source

pub fn gcd(&self, other: &U520) -> U520

Calculates the Greatest Common Divisor (GCD).

Source

pub fn from_little_endian(input: &[u8]) -> Result<U520, FixedUintError>

Convert from little-endian slice.

Source

pub fn from_big_endian(input: &[u8]) -> Result<U520, FixedUintError>

Convert from big-endian slice.

Source

pub fn into_little_endian( &self, output: &mut [u8], ) -> Result<(), FixedUintError>

Convert into little-endian slice.

Source

pub fn into_big_endian(&self, output: &mut [u8]) -> Result<(), FixedUintError>

Convert into big-endian slice.

Source

pub fn from_bin_str(input: &str) -> Result<U520, FixedUintError>

Convert from a binary string.

Source

pub fn from_oct_str(input: &str) -> Result<U520, FixedUintError>

Convert from a octal string.

Source

pub fn from_hex_str(input: &str) -> Result<U520, FixedUintError>

Convert from a hexadecimal string.

Source

pub fn from_dec_str(input: &str) -> Result<U520, FixedUintError>

Convert from a decimal string.

Source

pub const fn min_value() -> U520

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

Source

pub const fn max_value() -> U520

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

Source

pub fn count_ones(&self) -> u32

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

Source

pub fn count_zeros(&self) -> u32

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

Source

pub fn leading_zeros(&self) -> u32

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

Source

pub fn trailing_zeros(&self) -> u32

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

Source

pub fn rotate_left(&self, n: u32) -> U520

Shifts the bits to the left by a specified amount, n, wrapping the truncated bits to the end of the resulting integer.

Please note this isn’t the same operation as <<!

Source

pub fn rotate_right(&self, n: u32) -> U520

Shifts the bits to the right by a specified amount, n, wrapping the truncated bits to the beginning of the resulting integer.

Please note this isn’t the same operation as >>!

Source

pub fn swap_bytes(self) -> U520

Reverses the byte order of the integer.

Source

pub fn to_be_bytes(&self) -> [u8; 65]

Return the memory representation of this integer as a byte array in big-endian (network) byte order.

Source

pub fn to_le_bytes(&self) -> [u8; 65]

Return the memory representation of this integer as a byte array in little-endian byte order.

Source

pub fn to_ne_bytes(&self) -> [u8; 65]

Return the memory representation of this integer as a byte array in native byte order.

As the target platform’s native endianness is used, portable code should use to_be_bytes or to_le_bytes, as appropriate, instead.

Source

pub fn from_be_bytes(bytes: &[u8; 65]) -> U520

Create an integer value from its representation as a byte array in big endian.

Source

pub fn from_le_bytes(bytes: &[u8; 65]) -> U520

Create an integer value from its representation as a byte array in little endian.

Source

pub fn from_ne_bytes(bytes: &[u8; 65]) -> U520

Create an integer value from its memory representation as a byte array in native endianness.

As the target platform’s native endianness is used, portable code likely wants to use from_be_bytes or from_le_bytes, as appropriate instead.

Source

pub fn pow(&self, exp: u32) -> U520

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

Source

pub fn is_power_of_two(&self) -> bool

Returns true if and only if self == 2^k for some k.

Source

pub fn next_power_of_two(&self) -> U520

Returns the smallest power of two greater than or equal to self.

When return value overflows (i.e., self > (1 << (N-1)) for type uN), it panics in debug mode and return value is wrapped to 0 in release mode (the only situation in which method can return 0).

Source

pub fn checked_add(&self, rhs: &U520) -> Option<U520>

Checked integer addition. Computes self + rhs, returning None if overflow occurred.

Source

pub fn checked_sub(&self, rhs: &U520) -> Option<U520>

Checked integer subtraction. Computes self - rhs, returning None if overflow occurred.

Source

pub fn checked_mul(&self, rhs: &U520) -> Option<U520>

Checked integer multiplication. Computes self * rhs, returning None if overflow occurred.

Source

pub fn checked_div(&self, rhs: &U520) -> Option<U520>

Checked integer division. Computes self / rhs, returning None if rhs == 0.

Source

pub fn checked_rem(&self, rhs: &U520) -> Option<U520>

Checked integer remainder. Computes self % rhs, returning None if rhs == 0.

Source

pub fn checked_next_power_of_two(&self) -> Option<U520>

Returns the smallest power of two greater than or equal to n. If the next power of two is greater than the type’s maximum value, None is returned, otherwise the power of two is wrapped in Some.

Source

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

Checked exponentiation. Computes self.pow(exp), returning None if overflow occurred.

Source

pub fn checked_shl(&self, rhs: u128) -> Option<U520>

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

Source

pub fn checked_shr(&self, rhs: u128) -> Option<U520>

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

Source

pub fn checked_neg(&self) -> Option<U520>

Checked negation. Computes -self, returning None unless self == 0. Note that negating any positive integer will overflow.

Source

pub fn saturating_add(&self, rhs: &U520) -> U520

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

Source

pub fn saturating_sub(&self, rhs: &U520) -> U520

Checked integer subtraction. Computes self - rhs, returning None if overflow occurred.

Source

pub fn saturating_mul(&self, rhs: &U520) -> U520

Checked integer multiplication. Computes self * rhs, returning None if overflow occurred.

Source

pub fn saturating_pow(&self, exp: u32) -> U520

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

Source

pub fn overflowing_add(&self, rhs: &U520) -> (U520, bool)

Calculates self + rhs.

Returns a tuple of the addition along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.

Source

pub fn overflowing_sub(&self, rhs: &U520) -> (U520, bool)

Calculates self - rhs.

Returns a tuple of the subtraction along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.

Source

pub fn overflowing_mul(&self, rhs: &U520) -> (U520, bool)

Calculates the multiplication of self and rhs.

Returns a tuple of the multiplication along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.

Source

pub fn overflowing_div(&self, rhs: &U520) -> (U520, bool)

Calculates the divisor when self is divided by rhs.

Returns a tuple of the divisor along with a boolean indicating whether an arithmetic overflow would occur. Note that for unsigned integers overflow never occurs, so the second value is always false.

§Panics

This function will panic if rhs is 0.

Source

pub fn overflowing_rem(&self, rhs: &U520) -> (U520, bool)

Calculates the remainder when self is divided by rhs.

Returns a tuple of the remainder after dividing along with a boolean indicating whether an arithmetic overflow would occur. Note that for unsigned integers overflow never occurs, so the second value is always false.

§Panics

This function will panic if rhs is 0.

Source

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

Raises self to the power of exp, using exponentiation by squaring. Returns a tuple of the exponentiation along with a bool indicating whether an overflow happened.

Source

pub fn overflowing_shl(&self, rhs: u128) -> (U520, bool)

Shifts self left by rhs bits.

Returns a tuple of the shifted version of self along with a boolean indicating whether the shift value was larger than or equal to the number of bits. If the shift value is too large, then value is masked (N-1) where N is the number of bits, and this value is then used to perform the shift.

Source

pub fn overflowing_shr(&self, rhs: u128) -> (U520, bool)

Shifts self right by rhs bits.

Returns a tuple of the shifted version of self along with a boolean indicating whether the shift value was larger than or equal to the number of bits. If the shift value is too large, then value is masked (N-1) where N is the number of bits, and this value is then used to perform the shift.

Source

pub fn overflowing_neg(&self) -> (U520, bool)

Negates self in an overflowing fashion.

Returns !self + 1 using wrapping operations to return the value that represents the negation of this unsigned value. Note that for positive unsigned values overflow always occurs, but negating 0 does not overflow.

Trait Implementations§

Source§

impl<'a, 'b> Add<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the + operator.
Source§

fn add(self, other: &U520) -> <&'a U520 as Add<&'b U520>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a U520) -> <U520 as Add<&'a U520>>::Output

Performs the + operation. Read more
Source§

impl<'a, Rhs> Add<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the + operator.
Source§

fn add(self, other: Rhs) -> <&'a U520 as Add<Rhs>>::Output

Performs the + operation. Read more
Source§

impl<Rhs> Add<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the + operator.
Source§

fn add(self, other: Rhs) -> <U520 as Add<Rhs>>::Output

Performs the + operation. Read more
Source§

impl<'a> AddAssign<&'a U520> for U520

Source§

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

Performs the += operation. Read more
Source§

impl<Rhs> AddAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn add_assign(&mut self, other: Rhs)

Performs the += operation. Read more
Source§

impl Binary for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'a, 'b> BitAnd<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &U520) -> <&'a U520 as BitAnd<&'b U520>>::Output

Performs the & operation. Read more
Source§

impl<'a> BitAnd<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &U520) -> <U520 as BitAnd<&'a U520>>::Output

Performs the & operation. Read more
Source§

impl<'a, Rhs> BitAnd<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the & operator.
Source§

fn bitand(self, other: Rhs) -> <&'a U520 as BitAnd<Rhs>>::Output

Performs the & operation. Read more
Source§

impl<Rhs> BitAnd<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the & operator.
Source§

fn bitand(self, other: Rhs) -> <U520 as BitAnd<Rhs>>::Output

Performs the & operation. Read more
Source§

impl<'a> BitAndAssign<&'a U520> for U520

Source§

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

Performs the &= operation. Read more
Source§

impl<Rhs> BitAndAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn bitand_assign(&mut self, other: Rhs)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitOr<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &U520) -> <&'a U520 as BitOr<&'b U520>>::Output

Performs the | operation. Read more
Source§

impl<'a> BitOr<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &U520) -> <U520 as BitOr<&'a U520>>::Output

Performs the | operation. Read more
Source§

impl<'a, Rhs> BitOr<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the | operator.
Source§

fn bitor(self, other: Rhs) -> <&'a U520 as BitOr<Rhs>>::Output

Performs the | operation. Read more
Source§

impl<Rhs> BitOr<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the | operator.
Source§

fn bitor(self, other: Rhs) -> <U520 as BitOr<Rhs>>::Output

Performs the | operation. Read more
Source§

impl<'a> BitOrAssign<&'a U520> for U520

Source§

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

Performs the |= operation. Read more
Source§

impl<Rhs> BitOrAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn bitor_assign(&mut self, other: Rhs)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitXor<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &U520) -> <&'a U520 as BitXor<&'b U520>>::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXor<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &U520) -> <U520 as BitXor<&'a U520>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, Rhs> BitXor<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: Rhs) -> <&'a U520 as BitXor<Rhs>>::Output

Performs the ^ operation. Read more
Source§

impl<Rhs> BitXor<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: Rhs) -> <U520 as BitXor<Rhs>>::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXorAssign<&'a U520> for U520

Source§

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

Performs the ^= operation. Read more
Source§

impl<Rhs> BitXorAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn bitxor_assign(&mut self, other: Rhs)

Performs the ^= operation. Read more
Source§

impl Clone for U520

Source§

fn clone(&self) -> U520

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for U520

Source§

fn default() -> U520

Returns the “default value” for a type. Read more
Source§

impl Display for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'a, 'b> Div<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the / operator.
Source§

fn div(self, other: &U520) -> <&'a U520 as Div<&'b U520>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a U520) -> <U520 as Div<&'a U520>>::Output

Performs the / operation. Read more
Source§

impl<'a, Rhs> Div<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the / operator.
Source§

fn div(self, other: Rhs) -> <&'a U520 as Div<Rhs>>::Output

Performs the / operation. Read more
Source§

impl<Rhs> Div<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the / operator.
Source§

fn div(self, other: Rhs) -> <U520 as Div<Rhs>>::Output

Performs the / operation. Read more
Source§

impl<'a> DivAssign<&'a U520> for U520

Source§

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

Performs the /= operation. Read more
Source§

impl<Rhs> DivAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn div_assign(&mut self, other: Rhs)

Performs the /= operation. Read more
Source§

impl<'a> From<&'a u128> for U520

Source§

fn from(prim: &u128) -> U520

Converts to this type from the input type.
Source§

impl<'a> From<&'a u16> for U520

Source§

fn from(prim: &u16) -> U520

Converts to this type from the input type.
Source§

impl<'a> From<&'a u32> for U520

Source§

fn from(prim: &u32) -> U520

Converts to this type from the input type.
Source§

impl<'a> From<&'a u64> for U520

Source§

fn from(prim: &u64) -> U520

Converts to this type from the input type.
Source§

impl<'a> From<&'a u8> for U520

Source§

fn from(prim: &u8) -> U520

Converts to this type from the input type.
Source§

impl From<bool> for U520

Source§

fn from(val: bool) -> U520

Converts to this type from the input type.
Source§

impl From<u128> for U520

Source§

fn from(prim: u128) -> U520

Converts to this type from the input type.
Source§

impl From<u16> for U520

Source§

fn from(prim: u16) -> U520

Converts to this type from the input type.
Source§

impl From<u32> for U520

Source§

fn from(prim: u32) -> U520

Converts to this type from the input type.
Source§

impl From<u64> for U520

Source§

fn from(prim: u64) -> U520

Converts to this type from the input type.
Source§

impl From<u8> for U520

Source§

fn from(prim: u8) -> U520

Converts to this type from the input type.
Source§

impl Hash for U520

Source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
Source§

impl LowerHex for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'a, 'b> Mul<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the * operator.
Source§

fn mul(self, other: &U520) -> <&'a U520 as Mul<&'b U520>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a U520) -> <U520 as Mul<&'a U520>>::Output

Performs the * operation. Read more
Source§

impl<'a, Rhs> Mul<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the * operator.
Source§

fn mul(self, other: Rhs) -> <&'a U520 as Mul<Rhs>>::Output

Performs the * operation. Read more
Source§

impl<Rhs> Mul<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the * operator.
Source§

fn mul(self, other: Rhs) -> <U520 as Mul<Rhs>>::Output

Performs the * operation. Read more
Source§

impl<'a> MulAssign<&'a U520> for U520

Source§

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

Performs the *= operation. Read more
Source§

impl<Rhs> MulAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn mul_assign(&mut self, other: Rhs)

Performs the *= operation. Read more
Source§

impl<'a> Not for &'a U520

Source§

type Output = U520

The resulting type after applying the ! operator.
Source§

fn not(self) -> <&'a U520 as Not>::Output

Performs the unary ! operation. Read more
Source§

impl Not for U520

Source§

type Output = U520

The resulting type after applying the ! operator.
Source§

fn not(self) -> <U520 as Not>::Output

Performs the unary ! operation. Read more
Source§

impl Octal for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Ord for U520

Source§

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

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

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

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

fn min(self, other: Self) -> Self
where 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 Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for U520

Source§

fn eq(&self, other: &U520) -> 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, and should not be overridden without very good reason.
Source§

impl PartialOrd for U520

Source§

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

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

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

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

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<'a> Product<&'a U520> for U520

Source§

fn product<I>(iter: I) -> U520
where I: Iterator<Item = &'a U520>,

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl Product for U520

Source§

fn product<I>(iter: I) -> U520
where I: Iterator<Item = U520>,

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl<'a, 'b> Rem<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the % operator.
Source§

fn rem(self, other: &U520) -> <&'a U520 as Rem<&'b U520>>::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the % operator.
Source§

fn rem(self, other: &'a U520) -> <U520 as Rem<&'a U520>>::Output

Performs the % operation. Read more
Source§

impl<'a, Rhs> Rem<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the % operator.
Source§

fn rem(self, other: Rhs) -> <&'a U520 as Rem<Rhs>>::Output

Performs the % operation. Read more
Source§

impl<Rhs> Rem<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the % operator.
Source§

fn rem(self, other: Rhs) -> <U520 as Rem<Rhs>>::Output

Performs the % operation. Read more
Source§

impl<'a> RemAssign<&'a U520> for U520

Source§

fn rem_assign(&mut self, other: &U520)

Performs the %= operation. Read more
Source§

impl<Rhs> RemAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn rem_assign(&mut self, other: Rhs)

Performs the %= operation. Read more
Source§

impl<'a, 'b> Shl<&'a i128> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <&'b U520 as Shl<&'a i128>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i128> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i128) -> <U520 as Shl<&'a i128>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a i16> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <&'b U520 as Shl<&'a i16>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i16> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i16) -> <U520 as Shl<&'a i16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a i32> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <&'b U520 as Shl<&'a i32>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i32> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i32) -> <U520 as Shl<&'a i32>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a i64> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <&'b U520 as Shl<&'a i64>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i64> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i64) -> <U520 as Shl<&'a i64>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a i8> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <&'b U520 as Shl<&'a i8>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i8> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &i8) -> <U520 as Shl<&'a i8>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a isize> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <&'b U520 as Shl<&'a isize>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a isize> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &isize) -> <U520 as Shl<&'a isize>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a u128> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <&'b U520 as Shl<&'a u128>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a u128> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u128) -> <U520 as Shl<&'a u128>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a u16> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <&'b U520 as Shl<&'a u16>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a u16> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u16) -> <U520 as Shl<&'a u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a u32> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <&'b U520 as Shl<&'a u32>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a u32> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u32) -> <U520 as Shl<&'a u32>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a u64> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <&'b U520 as Shl<&'a u64>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a u64> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u64) -> <U520 as Shl<&'a u64>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a u8> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <&'b U520 as Shl<&'a u8>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a u8> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &u8) -> <U520 as Shl<&'a u8>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'a usize> for &'b U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <&'b U520 as Shl<&'a usize>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a usize> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: &usize) -> <U520 as Shl<&'a usize>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<i128> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> <&'a U520 as Shl<i128>>::Output

Performs the << operation. Read more
Source§

impl Shl<i128> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i128) -> <U520 as Shl<i128>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<i16> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> <&'a U520 as Shl<i16>>::Output

Performs the << operation. Read more
Source§

impl Shl<i16> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i16) -> <U520 as Shl<i16>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<i32> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> <&'a U520 as Shl<i32>>::Output

Performs the << operation. Read more
Source§

impl Shl<i32> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i32) -> <U520 as Shl<i32>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<i64> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i64) -> <&'a U520 as Shl<i64>>::Output

Performs the << operation. Read more
Source§

impl Shl<i64> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i64) -> <U520 as Shl<i64>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<i8> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> <&'a U520 as Shl<i8>>::Output

Performs the << operation. Read more
Source§

impl Shl<i8> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: i8) -> <U520 as Shl<i8>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<isize> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> <&'a U520 as Shl<isize>>::Output

Performs the << operation. Read more
Source§

impl Shl<isize> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: isize) -> <U520 as Shl<isize>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<u128> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> <&'a U520 as Shl<u128>>::Output

Performs the << operation. Read more
Source§

impl Shl<u128> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u128) -> <U520 as Shl<u128>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<u16> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> <&'a U520 as Shl<u16>>::Output

Performs the << operation. Read more
Source§

impl Shl<u16> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u16) -> <U520 as Shl<u16>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<u32> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> <&'a U520 as Shl<u32>>::Output

Performs the << operation. Read more
Source§

impl Shl<u32> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u32) -> <U520 as Shl<u32>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<u64> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> <&'a U520 as Shl<u64>>::Output

Performs the << operation. Read more
Source§

impl Shl<u64> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u64) -> <U520 as Shl<u64>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<u8> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> <&'a U520 as Shl<u8>>::Output

Performs the << operation. Read more
Source§

impl Shl<u8> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: u8) -> <U520 as Shl<u8>>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<usize> for &'a U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> <&'a U520 as Shl<usize>>::Output

Performs the << operation. Read more
Source§

impl Shl<usize> for U520

Source§

type Output = U520

The resulting type after applying the << operator.
Source§

fn shl(self, other: usize) -> <U520 as Shl<usize>>::Output

Performs the << operation. Read more
Source§

impl<'a> ShlAssign<&'a i128> for U520

Source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a i16> for U520

Source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a i32> for U520

Source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a i64> for U520

Source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a i8> for U520

Source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a isize> for U520

Source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a u128> for U520

Source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a u16> for U520

Source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a u32> for U520

Source§

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

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a u64> for U520

Source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a u8> for U520

Source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a usize> for U520

Source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i128> for U520

Source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i16> for U520

Source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i32> for U520

Source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i64> for U520

Source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i8> for U520

Source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
Source§

impl ShlAssign<isize> for U520

Source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u128> for U520

Source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u16> for U520

Source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u32> for U520

Source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u64> for U520

Source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u8> for U520

Source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
Source§

impl ShlAssign<usize> for U520

Source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> Shr<&'a i128> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <&'b U520 as Shr<&'a i128>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i128> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i128) -> <U520 as Shr<&'a i128>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a i16> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <&'b U520 as Shr<&'a i16>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i16> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i16) -> <U520 as Shr<&'a i16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a i32> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <&'b U520 as Shr<&'a i32>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i32> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i32) -> <U520 as Shr<&'a i32>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a i64> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <&'b U520 as Shr<&'a i64>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i64> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i64) -> <U520 as Shr<&'a i64>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a i8> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <&'b U520 as Shr<&'a i8>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i8> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &i8) -> <U520 as Shr<&'a i8>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a isize> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <&'b U520 as Shr<&'a isize>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a isize> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &isize) -> <U520 as Shr<&'a isize>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a u128> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <&'b U520 as Shr<&'a u128>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a u128> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u128) -> <U520 as Shr<&'a u128>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a u16> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <&'b U520 as Shr<&'a u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a u16> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u16) -> <U520 as Shr<&'a u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a u32> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <&'b U520 as Shr<&'a u32>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a u32> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u32) -> <U520 as Shr<&'a u32>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a u64> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <&'b U520 as Shr<&'a u64>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a u64> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u64) -> <U520 as Shr<&'a u64>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a u8> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <&'b U520 as Shr<&'a u8>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a u8> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &u8) -> <U520 as Shr<&'a u8>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'a usize> for &'b U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <&'b U520 as Shr<&'a usize>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a usize> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &usize) -> <U520 as Shr<&'a usize>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<i128> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> <&'a U520 as Shr<i128>>::Output

Performs the >> operation. Read more
Source§

impl Shr<i128> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i128) -> <U520 as Shr<i128>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<i16> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> <&'a U520 as Shr<i16>>::Output

Performs the >> operation. Read more
Source§

impl Shr<i16> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i16) -> <U520 as Shr<i16>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<i32> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> <&'a U520 as Shr<i32>>::Output

Performs the >> operation. Read more
Source§

impl Shr<i32> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i32) -> <U520 as Shr<i32>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<i64> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i64) -> <&'a U520 as Shr<i64>>::Output

Performs the >> operation. Read more
Source§

impl Shr<i64> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i64) -> <U520 as Shr<i64>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<i8> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> <&'a U520 as Shr<i8>>::Output

Performs the >> operation. Read more
Source§

impl Shr<i8> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: i8) -> <U520 as Shr<i8>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<isize> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> <&'a U520 as Shr<isize>>::Output

Performs the >> operation. Read more
Source§

impl Shr<isize> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: isize) -> <U520 as Shr<isize>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<u128> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> <&'a U520 as Shr<u128>>::Output

Performs the >> operation. Read more
Source§

impl Shr<u128> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u128) -> <U520 as Shr<u128>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<u16> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> <&'a U520 as Shr<u16>>::Output

Performs the >> operation. Read more
Source§

impl Shr<u16> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u16) -> <U520 as Shr<u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<u32> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> <&'a U520 as Shr<u32>>::Output

Performs the >> operation. Read more
Source§

impl Shr<u32> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u32) -> <U520 as Shr<u32>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<u64> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> <&'a U520 as Shr<u64>>::Output

Performs the >> operation. Read more
Source§

impl Shr<u64> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u64) -> <U520 as Shr<u64>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<u8> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> <&'a U520 as Shr<u8>>::Output

Performs the >> operation. Read more
Source§

impl Shr<u8> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: u8) -> <U520 as Shr<u8>>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<usize> for &'a U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> <&'a U520 as Shr<usize>>::Output

Performs the >> operation. Read more
Source§

impl Shr<usize> for U520

Source§

type Output = U520

The resulting type after applying the >> operator.
Source§

fn shr(self, other: usize) -> <U520 as Shr<usize>>::Output

Performs the >> operation. Read more
Source§

impl<'a> ShrAssign<&'a i128> for U520

Source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a i16> for U520

Source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a i32> for U520

Source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a i64> for U520

Source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a i8> for U520

Source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a isize> for U520

Source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a u128> for U520

Source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a u16> for U520

Source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a u32> for U520

Source§

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

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a u64> for U520

Source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a u8> for U520

Source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a usize> for U520

Source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i128> for U520

Source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i16> for U520

Source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i32> for U520

Source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i64> for U520

Source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i8> for U520

Source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
Source§

impl ShrAssign<isize> for U520

Source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u128> for U520

Source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u16> for U520

Source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u32> for U520

Source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u64> for U520

Source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u8> for U520

Source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
Source§

impl ShrAssign<usize> for U520

Source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> Sub<&'b U520> for &'a U520

Source§

type Output = U520

The resulting type after applying the - operator.
Source§

fn sub(self, other: &U520) -> <&'a U520 as Sub<&'b U520>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a U520> for U520

Source§

type Output = U520

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a U520) -> <U520 as Sub<&'a U520>>::Output

Performs the - operation. Read more
Source§

impl<'a, Rhs> Sub<Rhs> for &'a U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the - operator.
Source§

fn sub(self, other: Rhs) -> <&'a U520 as Sub<Rhs>>::Output

Performs the - operation. Read more
Source§

impl<Rhs> Sub<Rhs> for U520
where Rhs: Into<U520>,

Source§

type Output = U520

The resulting type after applying the - operator.
Source§

fn sub(self, other: Rhs) -> <U520 as Sub<Rhs>>::Output

Performs the - operation. Read more
Source§

impl<'a> SubAssign<&'a U520> for U520

Source§

fn sub_assign(&mut self, other: &U520)

Performs the -= operation. Read more
Source§

impl<Rhs> SubAssign<Rhs> for U520
where Rhs: Into<U520>,

Source§

fn sub_assign(&mut self, other: Rhs)

Performs the -= operation. Read more
Source§

impl<'a> Sum<&'a U520> for U520

Source§

fn sum<I>(iter: I) -> U520
where I: Iterator<Item = &'a U520>,

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for U520

Source§

fn sum<I>(iter: I) -> U520
where I: Iterator<Item = U520>,

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl UintConvert<U1024> for U520

Source§

fn convert_into(&self) -> (U1024, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U128> for U520

Source§

fn convert_into(&self) -> (U128, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U160> for U520

Source§

fn convert_into(&self) -> (U160, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U2048> for U520

Source§

fn convert_into(&self) -> (U2048, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U224> for U520

Source§

fn convert_into(&self) -> (U224, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U256> for U520

Source§

fn convert_into(&self) -> (U256, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U384> for U520

Source§

fn convert_into(&self) -> (U384, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U4096> for U520

Source§

fn convert_into(&self) -> (U4096, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U512> for U520

Source§

fn convert_into(&self) -> (U512, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U1024

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U128

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U160

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U2048

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U224

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U256

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U384

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U4096

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UintConvert<U520> for U512

Source§

fn convert_into(&self) -> (U520, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.
Source§

impl UpperHex for U520

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Eq for U520

Auto Trait Implementations§

§

impl Freeze for U520

§

impl RefUnwindSafe for U520

§

impl Send for U520

§

impl Sync for U520

§

impl Unpin for U520

§

impl UnwindSafe for U520

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.