Struct snarkvm_console_types_string::Integer 
source · [−]pub struct Integer<E, I> where
    E: Environment,
    I: IntegerType, { /* private fields */ }Implementations
Trait Implementations
sourceimpl<E, I> AbsChecked for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> AbsChecked for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn abs_checked(self) -> <Integer<E, I> as AbsChecked>::Output
 
fn abs_checked(self) -> <Integer<E, I> as AbsChecked>::Output
Returns the absolute value of self.
type Output = Integer<E, I>
sourceimpl<E, I> AbsWrapped for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> AbsWrapped for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn abs_wrapped(self) -> <Integer<E, I> as AbsWrapped>::Output
 
fn abs_wrapped(self) -> <Integer<E, I> as AbsWrapped>::Output
Returns the absolute value of self.
type Output = Integer<E, I>
sourceimpl<E, I> Add<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Add<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Add<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Add<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> AddAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> AddAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn add_assign(&mut self, other: &Integer<E, I>)
 
fn add_assign(&mut self, other: &Integer<E, I>)
Adds other to self.
sourceimpl<E, I> AddAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> AddAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn add_assign(&mut self, other: Integer<E, I>)
 
fn add_assign(&mut self, other: Integer<E, I>)
Adds other to self.
sourceimpl<E, I> AddWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> AddWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn add_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as AddWrapped<Integer<E, I>>>::Output
 
fn add_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as AddWrapped<Integer<E, I>>>::Output
Returns the sum of self and other.
type Output = Integer<E, I>
sourceimpl<E, I> BitAnd<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitAnd<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitAnd<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitAnd<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitAndAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitAndAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn bitand_assign(&mut self, other: Integer<E, I>)
 
fn bitand_assign(&mut self, other: Integer<E, I>)
Performs the bitwise AND of self and other and assigns the result to self.
sourceimpl<E, I> BitOr<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitOr<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitOr<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitOr<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitOrAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitOrAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn bitor_assign(&mut self, other: Integer<E, I>)
 
fn bitor_assign(&mut self, other: Integer<E, I>)
Performs the bitwise OR of self and other and assigns the result to self.
sourceimpl<E, I> BitXor<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitXor<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitXor<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitXor<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> BitXorAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> BitXorAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn bitxor_assign(&mut self, other: Integer<E, I>)
 
fn bitxor_assign(&mut self, other: Integer<E, I>)
Performs the bitwise XOR of self and other and assigns the result to self.
sourceimpl<E, I> Clone for Integer<E, I> where
    E: Clone + Environment,
    I: Clone + IntegerType, 
 
impl<E, I> Clone for Integer<E, I> where
    E: Clone + Environment,
    I: Clone + IntegerType, 
sourceimpl<E, I> Compare<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Compare<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn is_less_than(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
 
fn is_less_than(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
Returns true if self is less than other.
sourcefn is_greater_than(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
 
fn is_greater_than(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
Returns true if self is greater than other.
sourcefn is_less_than_or_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
 
fn is_less_than_or_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
Returns true if self is less than or equal to other.
sourcefn is_greater_than_or_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
 
fn is_greater_than_or_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Compare<Integer<E, I>>>::Output
Returns true if self is greater than or equal to other.
type Output = Boolean<E>
sourceimpl<E, I> Debug for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Debug for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Deref for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Deref for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<'de, E, I> Deserialize<'de> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<'de, E, I> Deserialize<'de> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn deserialize<D>(
    deserializer: D
) -> Result<Integer<E, I>, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
 
fn deserialize<D>(
    deserializer: D
) -> Result<Integer<E, I>, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
Deserializes the integer from a string or bytes.
sourceimpl<E, I> Display for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Display for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Distribution<Integer<E, I>> for Standard where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Distribution<Integer<E, I>> for Standard where
    E: Environment,
    I: IntegerType, 
sourcefn sample<R>(&self, rng: &mut R) -> Integer<E, I> where
    R: Rng + ?Sized, 
 
fn sample<R>(&self, rng: &mut R) -> Integer<E, I> where
    R: Rng + ?Sized, 
Generate a random value of T, using rng as the source of randomness.
sourcefn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
    R: Rng, 
 
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
    R: Rng, 
Create an iterator that generates random values of T, using rng as
the source of randomness. Read more
sourceimpl<E, I> Div<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Div<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Div<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Div<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> DivAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> DivAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn div_assign(&mut self, other: &Integer<E, I>)
 
fn div_assign(&mut self, other: &Integer<E, I>)
Divides self by other.
sourceimpl<E, I> DivAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> DivAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn div_assign(&mut self, other: Integer<E, I>)
 
fn div_assign(&mut self, other: Integer<E, I>)
Divides self by other.
sourceimpl<E, I> DivWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> DivWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn div_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as DivWrapped<Integer<E, I>>>::Output
 
fn div_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as DivWrapped<Integer<E, I>>>::Output
Returns the quotient of self and other.
type Output = Integer<E, I>
sourceimpl<E, I> Equal<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Equal<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn is_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
 
fn is_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
Returns true if self and other are equal.
sourcefn is_not_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
 
fn is_not_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
Returns true if self and other are not equal.
type Output = Boolean<E>
sourceimpl<E, I> FromBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> FromBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> FromBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> FromBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> FromField for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> FromField for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> FromFields for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> FromFields for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn from_fields(
    fields: &[<Integer<E, I> as FromFields>::Field]
) -> Result<Integer<E, I>, Error>
 
fn from_fields(
    fields: &[<Integer<E, I> as FromFields>::Field]
) -> Result<Integer<E, I>, Error>
Initializes a new integer by recovering the x-coordinate of an affine group from a field element.
type Field = Field<E>
sourceimpl<E, I> FromStr for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> FromStr for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Hash for Integer<E, I> where
    E: Hash + Environment,
    I: Hash + IntegerType, 
 
impl<E, I> Hash for Integer<E, I> where
    E: Hash + Environment,
    I: Hash + IntegerType, 
sourceimpl<E, I> Modulo<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Modulo<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Mul<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Mul<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Mul<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Mul<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> MulAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> MulAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn mul_assign(&mut self, other: &Integer<E, I>)
 
fn mul_assign(&mut self, other: &Integer<E, I>)
Multiplies self by other.
sourceimpl<E, I> MulAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> MulAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn mul_assign(&mut self, other: Integer<E, I>)
 
fn mul_assign(&mut self, other: Integer<E, I>)
Multiplies self by other.
sourceimpl<E, I> MulWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> MulWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn mul_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as MulWrapped<Integer<E, I>>>::Output
 
fn mul_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as MulWrapped<Integer<E, I>>>::Output
Returns the product of self and other.
type Output = Integer<E, I>
sourceimpl<E, I> Neg for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Neg for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Not for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Not for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> One for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> One for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Ord for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Ord for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn cmp(&self, other: &Integer<E, I>) -> Ordering
 
fn cmp(&self, other: &Integer<E, I>) -> Ordering
Returns the lexicographic ordering of self and other.
1.21.0 · sourcefn max(self, other: Self) -> Self
 
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
 
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
    Self: PartialOrd<Self>, 
 
fn clamp(self, min: Self, max: Self) -> Self where
    Self: PartialOrd<Self>, 
Restrict a value to a certain interval. Read more
sourceimpl<E, I> Parser for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Parser for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> PartialEq<Integer<E, I>> for Integer<E, I> where
    E: PartialEq<E> + Environment,
    I: PartialEq<I> + IntegerType, 
 
impl<E, I> PartialEq<Integer<E, I>> for Integer<E, I> where
    E: PartialEq<E> + Environment,
    I: PartialEq<I> + IntegerType, 
sourceimpl<E, I> PartialOrd<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> PartialOrd<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn partial_cmp(&self, other: &Integer<E, I>) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Integer<E, I>) -> Option<Ordering>
Returns the lexicographic ordering of self and other.
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
 
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl<E, I, M> Pow<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Pow<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> Pow<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Pow<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> PowWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> PowWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn pow_wrapped(
    &self,
    other: &Integer<E, M>
) -> <Integer<E, I> as PowWrapped<Integer<E, M>>>::Output
 
fn pow_wrapped(
    &self,
    other: &Integer<E, M>
) -> <Integer<E, I> as PowWrapped<Integer<E, M>>>::Output
Returns the power of self to the power of other.
type Output = Integer<E, I>
sourceimpl<E, I> Rem<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Rem<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Rem<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Rem<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> RemAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> RemAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn rem_assign(&mut self, other: &Integer<E, I>)
 
fn rem_assign(&mut self, other: &Integer<E, I>)
Returns the remainder of self divided by other.
sourceimpl<E, I> RemAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> RemAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn rem_assign(&mut self, other: Integer<E, I>)
 
fn rem_assign(&mut self, other: Integer<E, I>)
Returns the remainder of self divided by other.
sourceimpl<E, I> RemWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> RemWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn rem_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as RemWrapped<Integer<E, I>>>::Output
 
fn rem_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as RemWrapped<Integer<E, I>>>::Output
Returns the remainder of self divided by other.
type Output = Integer<E, I>
sourceimpl<E, I> Serialize for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Serialize for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
 
fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
Serializes the integer into a string or as bytes.
sourceimpl<E, I, M> Shl<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Shl<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> Shl<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Shl<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> ShlAssign<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShlAssign<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shl_assign(&mut self, n: Integer<E, M>)
 
fn shl_assign(&mut self, n: Integer<E, M>)
Shifts self to the left by n bits and assigns the result to self.
sourceimpl<E, I, M> ShlChecked<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShlChecked<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shl_checked(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShlChecked<Integer<E, M>>>::Output
 
fn shl_checked(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShlChecked<Integer<E, M>>>::Output
Shifts self to the left by n bits.
type Output = Integer<E, I>
sourceimpl<E, I, M> ShlWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShlWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shl_wrapped(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShlWrapped<Integer<E, M>>>::Output
 
fn shl_wrapped(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShlWrapped<Integer<E, M>>>::Output
Shifts self to the left by n bits, continuing past the boundary.
type Output = Integer<E, I>
sourceimpl<E, I, M> Shr<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Shr<&Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> Shr<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> Shr<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourceimpl<E, I, M> ShrAssign<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShrAssign<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shr_assign(&mut self, n: Integer<E, M>)
 
fn shr_assign(&mut self, n: Integer<E, M>)
Shifts self to the right by n bits and assigns the result to self.
sourceimpl<E, I, M> ShrChecked<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShrChecked<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shr_checked(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShrChecked<Integer<E, M>>>::Output
 
fn shr_checked(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShrChecked<Integer<E, M>>>::Output
Shifts self to the right by n bits.
type Output = Integer<E, I>
sourceimpl<E, I, M> ShrWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
 
impl<E, I, M> ShrWrapped<Integer<E, M>> for Integer<E, I> where
    E: Environment,
    I: IntegerType,
    M: Magnitude, 
sourcefn shr_wrapped(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShrWrapped<Integer<E, M>>>::Output
 
fn shr_wrapped(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShrWrapped<Integer<E, M>>>::Output
Shifts self to the right by n bits, continuing past the boundary.
type Output = Integer<E, I>
sourceimpl<E, I> SizeInBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> SizeInBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn size_in_bits() -> usize
 
fn size_in_bits() -> usize
Returns the integer size in bits.
sourceimpl<E, I> SizeInBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> SizeInBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn size_in_bytes() -> usize
 
fn size_in_bytes() -> usize
Returns the integer size in bytes.
sourceimpl<E, I> Square for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Square for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Sub<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Sub<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Sub<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Sub<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> SubAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> SubAssign<&Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn sub_assign(&mut self, other: &Integer<E, I>)
 
fn sub_assign(&mut self, other: &Integer<E, I>)
Subtracts other from self.
sourceimpl<E, I> SubAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> SubAssign<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn sub_assign(&mut self, other: Integer<E, I>)
 
fn sub_assign(&mut self, other: Integer<E, I>)
Subtracts other from self.
sourceimpl<E, I> SubWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> SubWrapped<Integer<E, I>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourcefn sub_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as SubWrapped<Integer<E, I>>>::Output
 
fn sub_wrapped(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as SubWrapped<Integer<E, I>>>::Output
Returns the difference of self and other.
type Output = Integer<E, I>
sourceimpl<E, I> Ternary for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Ternary for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> ToBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> ToBits for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> ToBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> ToBytes for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> ToField for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> ToField for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> ToFields for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> ToFields for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> TypeName for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> TypeName for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Visibility for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Visibility for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
sourceimpl<E, I> Zero for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
 
impl<E, I> Zero for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
impl<E, I> Copy for Integer<E, I> where
    E: Copy + Environment,
    I: Copy + IntegerType, 
impl<E, I> Eq for Integer<E, I> where
    E: Eq + Environment,
    I: Eq + IntegerType, 
impl<E, I> IntegerCore<I> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
impl<E, I> IntegerTrait<I, Integer<E, u8>, Integer<E, u16>, Integer<E, u32>> for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
impl<E, I> StructuralEq for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
impl<E, I> StructuralPartialEq for Integer<E, I> where
    E: Environment,
    I: IntegerType, 
Auto Trait Implementations
impl<E, I> RefUnwindSafe for Integer<E, I> where
    E: RefUnwindSafe,
    I: RefUnwindSafe, 
impl<E, I> Send for Integer<E, I>
impl<E, I> Sync for Integer<E, I>
impl<E, I> Unpin for Integer<E, I> where
    E: Unpin,
    I: Unpin, 
impl<E, I> UnwindSafe for Integer<E, I> where
    E: UnwindSafe,
    I: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more