[][src]Struct numext_fixed_uint_core::U520

pub struct U520(pub [u8; 65]);

Fixed non-negative integer type.

Implementations

impl U520[src]

pub const fn zero() -> Self[src]

Create a new fixed uint and value is zero.

pub const fn one() -> Self[src]

Create a new fixed uint and value is one.

pub fn is_zero(&self) -> bool[src]

Test if a fixed uint is zero.

pub fn is_max(&self) -> bool[src]

Test if a fixed uint is the max value.

pub const fn count_bits() -> u64[src]

Return the count of bits.

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

Return a specific bit, or return None when overlows.

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

Set a specific bit. Return false when overflows.

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

Return the highest bit which is one.

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

Return the lowest bit which is one.

pub const fn count_bytes() -> u64[src]

Return the count of bytes.

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

Return a specific byte, or return None when overlows.

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

Set a specific byte. Return false when overflows;

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

Return the highest byte which is nonzero.

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

Return the lowest byte which is nonzero.

pub fn complete_mul(&self, other: &Self) -> (Self, Self)[src]

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.

pub fn complete_div(&self, other: &Self) -> (Self, Self)[src]

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.

pub const fn size_of() -> usize[src]

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

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

pub fn gcd(&self, other: &Self) -> Self[src]

Calculates the Greatest Common Divisor (GCD).

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

Convert from little-endian slice.

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

Convert from big-endian slice.

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

Convert into little-endian slice.

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

Convert into big-endian slice.

pub fn from_bin_str(input: &str) -> Result<Self, FixedUintError>[src]

Convert from a binary string.

pub fn from_oct_str(input: &str) -> Result<Self, FixedUintError>[src]

Convert from a octal string.

pub fn from_hex_str(input: &str) -> Result<Self, FixedUintError>[src]

Convert from a hexadecimal string.

pub fn from_dec_str(input: &str) -> Result<Self, FixedUintError>[src]

Convert from a decimal string.

pub const fn min_value() -> Self[src]

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

pub const fn max_value() -> Self[src]

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

pub fn count_ones(&self) -> u32[src]

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

pub fn count_zeros(&self) -> u32[src]

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

pub fn leading_zeros(&self) -> u32[src]

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

pub fn trailing_zeros(&self) -> u32[src]

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

pub fn rotate_left(&self, n: u32) -> Self[src]

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 <<!

pub fn rotate_right(&self, n: u32) -> Self[src]

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 >>!

pub fn swap_bytes(self) -> Self[src]

Reverses the byte order of the integer.

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

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

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

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

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

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.

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

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

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

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

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

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.

pub fn pow(&self, exp: u32) -> Self[src]

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

pub fn is_power_of_two(&self) -> bool[src]

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

pub fn next_power_of_two(&self) -> Self[src]

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).

pub fn checked_add(&self, rhs: &Self) -> Option<Self>[src]

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

pub fn checked_sub(&self, rhs: &Self) -> Option<Self>[src]

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

pub fn checked_mul(&self, rhs: &Self) -> Option<Self>[src]

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

pub fn checked_div(&self, rhs: &Self) -> Option<Self>[src]

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

pub fn checked_rem(&self, rhs: &Self) -> Option<Self>[src]

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

pub fn checked_next_power_of_two(&self) -> Option<Self>[src]

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.

pub fn checked_pow(&self, exp: u32) -> Option<Self>[src]

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

pub fn checked_shl(&self, rhs: u128) -> Option<Self>[src]

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

pub fn checked_shr(&self, rhs: u128) -> Option<Self>[src]

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

pub fn checked_neg(&self) -> Option<Self>[src]

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

pub fn saturating_add(&self, rhs: &Self) -> Self[src]

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

pub fn saturating_sub(&self, rhs: &Self) -> Self[src]

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

pub fn saturating_mul(&self, rhs: &Self) -> Self[src]

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

pub fn saturating_pow(&self, exp: u32) -> Self[src]

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

pub fn overflowing_add(&self, rhs: &Self) -> (Self, bool)[src]

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.

pub fn overflowing_sub(&self, rhs: &Self) -> (Self, bool)[src]

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.

pub fn overflowing_mul(&self, rhs: &Self) -> (Self, bool)[src]

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.

pub fn overflowing_div(&self, rhs: &Self) -> (Self, bool)[src]

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.

pub fn overflowing_rem(&self, rhs: &Self) -> (Self, bool)[src]

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.

pub fn overflowing_pow(&self, exp: u32) -> (Self, bool)[src]

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.

pub fn overflowing_shl(&self, rhs: u128) -> (Self, bool)[src]

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.

pub fn overflowing_shr(&self, rhs: u128) -> (Self, bool)[src]

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.

pub fn overflowing_neg(&self) -> (Self, bool)[src]

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

impl<'a> Add<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the + operator.

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

type Output = U520

The resulting type after applying the + operator.

impl<Rhs> Add<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the + operator.

impl<'a> AddAssign<&'a U520> for U520[src]

impl<Rhs> AddAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl Binary for U520[src]

impl<'a> BitAnd<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the & operator.

impl<'a, 'b> BitAnd<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the & operator.

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

type Output = U520

The resulting type after applying the & operator.

impl<Rhs> BitAnd<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the & operator.

impl<'a> BitAndAssign<&'a U520> for U520[src]

impl<Rhs> BitAndAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl<'a> BitOr<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the | operator.

impl<'a, 'b> BitOr<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the | operator.

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

type Output = U520

The resulting type after applying the | operator.

impl<Rhs> BitOr<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the | operator.

impl<'a> BitOrAssign<&'a U520> for U520[src]

impl<Rhs> BitOrAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl<'a> BitXor<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the ^ operator.

impl<'a, 'b> BitXor<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the ^ operator.

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

type Output = U520

The resulting type after applying the ^ operator.

impl<Rhs> BitXor<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the ^ operator.

impl<'a> BitXorAssign<&'a U520> for U520[src]

impl<Rhs> BitXorAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl Clone for U520[src]

impl Debug for U520[src]

impl Default for U520[src]

impl Display for U520[src]

impl<'a> Div<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the / operator.

impl<'a, 'b> Div<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the / operator.

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

type Output = U520

The resulting type after applying the / operator.

impl<Rhs> Div<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the / operator.

impl<'a> DivAssign<&'a U520> for U520[src]

impl<Rhs> DivAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl Eq for U520[src]

impl<'a> From<&'a u128> for U520[src]

impl<'a> From<&'a u16> for U520[src]

impl<'a> From<&'a u32> for U520[src]

impl<'a> From<&'a u64> for U520[src]

impl<'a> From<&'a u8> for U520[src]

impl From<bool> for U520[src]

impl From<u128> for U520[src]

impl From<u16> for U520[src]

impl From<u32> for U520[src]

impl From<u64> for U520[src]

impl From<u8> for U520[src]

impl Hash for U520[src]

impl LowerHex for U520[src]

impl<'a> Mul<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the * operator.

impl<'a, 'b> Mul<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the * operator.

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

type Output = U520

The resulting type after applying the * operator.

impl<Rhs> Mul<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the * operator.

impl<'a> MulAssign<&'a U520> for U520[src]

impl<Rhs> MulAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl<'a> Not for &'a U520[src]

type Output = U520

The resulting type after applying the ! operator.

impl Not for U520[src]

type Output = U520

The resulting type after applying the ! operator.

impl Octal for U520[src]

impl Ord for U520[src]

impl PartialEq<U520> for U520[src]

impl PartialOrd<U520> for U520[src]

impl<'a> Product<&'a U520> for U520[src]

impl Product<U520> for U520[src]

impl<'a> Rem<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the % operator.

impl<'a, 'b> Rem<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the % operator.

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

type Output = U520

The resulting type after applying the % operator.

impl<Rhs> Rem<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the % operator.

impl<'a> RemAssign<&'a U520> for U520[src]

impl<Rhs> RemAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a i128> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a i16> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a i32> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a i64> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a i8> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a isize> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a u128> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a u16> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a u32> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a u64> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a u8> for U520[src]

type Output = U520

The resulting type after applying the << operator.

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

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<&'a usize> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<i128> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<i128> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<i16> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<i16> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<i32> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<i32> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<i64> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<i64> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<i8> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<i8> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<isize> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<isize> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<u128> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<u128> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<u16> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<u16> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<u32> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<u32> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<u64> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<u64> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<u8> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<u8> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> Shl<usize> for &'a U520[src]

type Output = U520

The resulting type after applying the << operator.

impl Shl<usize> for U520[src]

type Output = U520

The resulting type after applying the << operator.

impl<'a> ShlAssign<&'a i128> for U520[src]

impl<'a> ShlAssign<&'a i16> for U520[src]

impl<'a> ShlAssign<&'a i32> for U520[src]

impl<'a> ShlAssign<&'a i64> for U520[src]

impl<'a> ShlAssign<&'a i8> for U520[src]

impl<'a> ShlAssign<&'a isize> for U520[src]

impl<'a> ShlAssign<&'a u128> for U520[src]

impl<'a> ShlAssign<&'a u16> for U520[src]

impl<'a> ShlAssign<&'a u32> for U520[src]

impl<'a> ShlAssign<&'a u64> for U520[src]

impl<'a> ShlAssign<&'a u8> for U520[src]

impl<'a> ShlAssign<&'a usize> for U520[src]

impl ShlAssign<i128> for U520[src]

impl ShlAssign<i16> for U520[src]

impl ShlAssign<i32> for U520[src]

impl ShlAssign<i64> for U520[src]

impl ShlAssign<i8> for U520[src]

impl ShlAssign<isize> for U520[src]

impl ShlAssign<u128> for U520[src]

impl ShlAssign<u16> for U520[src]

impl ShlAssign<u32> for U520[src]

impl ShlAssign<u64> for U520[src]

impl ShlAssign<u8> for U520[src]

impl ShlAssign<usize> for U520[src]

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i128> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i16> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i32> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i64> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i8> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a isize> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u128> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u16> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u32> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u64> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u8> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

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

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<&'a usize> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<i128> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<i128> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<i16> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<i16> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<i32> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<i32> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<i64> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<i64> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<i8> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<i8> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<isize> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<isize> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<u128> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<u128> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<u16> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<u16> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<u32> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<u32> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<u64> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<u64> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<u8> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<u8> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> Shr<usize> for &'a U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl Shr<usize> for U520[src]

type Output = U520

The resulting type after applying the >> operator.

impl<'a> ShrAssign<&'a i128> for U520[src]

impl<'a> ShrAssign<&'a i16> for U520[src]

impl<'a> ShrAssign<&'a i32> for U520[src]

impl<'a> ShrAssign<&'a i64> for U520[src]

impl<'a> ShrAssign<&'a i8> for U520[src]

impl<'a> ShrAssign<&'a isize> for U520[src]

impl<'a> ShrAssign<&'a u128> for U520[src]

impl<'a> ShrAssign<&'a u16> for U520[src]

impl<'a> ShrAssign<&'a u32> for U520[src]

impl<'a> ShrAssign<&'a u64> for U520[src]

impl<'a> ShrAssign<&'a u8> for U520[src]

impl<'a> ShrAssign<&'a usize> for U520[src]

impl ShrAssign<i128> for U520[src]

impl ShrAssign<i16> for U520[src]

impl ShrAssign<i32> for U520[src]

impl ShrAssign<i64> for U520[src]

impl ShrAssign<i8> for U520[src]

impl ShrAssign<isize> for U520[src]

impl ShrAssign<u128> for U520[src]

impl ShrAssign<u16> for U520[src]

impl ShrAssign<u32> for U520[src]

impl ShrAssign<u64> for U520[src]

impl ShrAssign<u8> for U520[src]

impl ShrAssign<usize> for U520[src]

impl<'a> Sub<&'a U520> for U520[src]

type Output = U520

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'b U520> for &'a U520[src]

type Output = U520

The resulting type after applying the - operator.

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

type Output = U520

The resulting type after applying the - operator.

impl<Rhs> Sub<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

type Output = U520

The resulting type after applying the - operator.

impl<'a> SubAssign<&'a U520> for U520[src]

impl<Rhs> SubAssign<Rhs> for U520 where
    Rhs: Into<U520>, 
[src]

impl<'a> Sum<&'a U520> for U520[src]

impl Sum<U520> for U520[src]

impl UintConvert<U1024> for U520[src]

impl UintConvert<U128> for U520[src]

impl UintConvert<U160> for U520[src]

impl UintConvert<U2048> for U520[src]

impl UintConvert<U224> for U520[src]

impl UintConvert<U256> for U520[src]

impl UintConvert<U384> for U520[src]

impl UintConvert<U4096> for U520[src]

impl UintConvert<U512> for U520[src]

impl UintConvert<U520> for U128[src]

impl UintConvert<U520> for U160[src]

impl UintConvert<U520> for U224[src]

impl UintConvert<U520> for U256[src]

impl UintConvert<U520> for U384[src]

impl UintConvert<U520> for U512[src]

impl UintConvert<U520> for U1024[src]

impl UintConvert<U520> for U2048[src]

impl UintConvert<U520> for U4096[src]

impl UpperHex for U520[src]

Auto Trait Implementations

impl RefUnwindSafe for U520

impl Send for U520

impl Sync for U520

impl Unpin for U520

impl UnwindSafe for U520

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.