Struct snarkvm_circuit::integers::Integer
pub struct Integer<E, I>where
E: Environment,
I: IntegerType,{ /* private fields */ }
Implementations
impl<E, I> Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Integer<E, I>where
E: Environment,
I: IntegerType,
pub fn size_in_bits() -> u16
pub fn cast_as_dual(self) -> Integer<E, <I as IntegerProperties>::Dual>
Trait Implementations
impl<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,
type Output = Integer<E, I>
fn abs_checked(self) -> <&Integer<E, I> as AbsChecked>::Output
impl<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,
type Output = Integer<E, I>
fn abs_checked(self) -> <Integer<E, I> as AbsChecked>::Output
impl<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,
type Output = Integer<E, I>
fn abs_wrapped(self) -> <&Integer<E, I> as AbsWrapped>::Output
impl<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,
type Output = Integer<E, I>
fn abs_wrapped(self) -> <Integer<E, I> as AbsWrapped>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn add_assign(&mut self, other: &Integer<E, I>)
fn add_assign(&mut self, other: &Integer<E, I>)
+=
operation. Read moreimpl<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,
fn add_assign(&mut self, other: Integer<E, I>)
fn add_assign(&mut self, other: Integer<E, I>)
+=
operation. Read moreimpl<E, I> AddChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> AddChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Output = Integer<E, I>
fn add_checked(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as AddChecked<Integer<E, I>>>::Output
impl<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,
type Output = Integer<E, I>
fn add_wrapped(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as AddWrapped<Integer<E, I>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn bitand_assign(&mut self, other: &Integer<E, I>)
fn bitand_assign(&mut self, other: &Integer<E, I>)
Sets self
as (self AND other)
.
impl<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,
fn bitand_assign(&mut self, other: Integer<E, I>)
fn bitand_assign(&mut self, other: Integer<E, I>)
Sets self
as (self AND other)
.
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn bitor_assign(&mut self, other: &Integer<E, I>)
fn bitor_assign(&mut self, other: &Integer<E, I>)
Sets self
as (self OR other)
.
impl<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,
fn bitor_assign(&mut self, other: Integer<E, I>)
fn bitor_assign(&mut self, other: Integer<E, I>)
Sets self
as (self OR other)
.
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn bitxor_assign(&mut self, other: &Integer<E, I>)
fn bitxor_assign(&mut self, other: &Integer<E, I>)
Sets self
as (self != other)
.
impl<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,
fn bitxor_assign(&mut self, other: Integer<E, I>)
fn bitxor_assign(&mut self, other: Integer<E, I>)
Sets self
as (self != other)
.
impl<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,
impl<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,
fn 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
.
fn 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
.
fn 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
.
fn 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>
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn div_assign(&mut self, other: &Integer<E, I>)
fn div_assign(&mut self, other: &Integer<E, I>)
/=
operation. Read moreimpl<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,
fn div_assign(&mut self, other: Integer<E, I>)
fn div_assign(&mut self, other: Integer<E, I>)
/=
operation. Read moreimpl<E, I> DivChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> DivChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Output = Integer<E, I>
fn div_checked(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as DivChecked<Integer<E, I>>>::Output
impl<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,
type Output = Integer<E, I>
fn div_wrapped(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as DivWrapped<Integer<E, I>>>::Output
impl<E, I> Eject for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Eject for Integer<E, I>where
E: Environment,
I: IntegerType,
fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the integer.
fn eject_value(&self) -> <Integer<E, I> as Eject>::Primitive
fn eject_value(&self) -> <Integer<E, I> as Eject>::Primitive
Ejects the integer circuit as a console integer value.
type Primitive = Integer<<E as Environment>::Network, I>
sourcefn eject(&self) -> (Mode, Self::Primitive)
fn eject(&self) -> (Mode, Self::Primitive)
sourcefn is_constant(&self) -> bool
fn is_constant(&self) -> bool
true
if the circuit is a constant. Read moresourcefn is_private(&self) -> bool
fn is_private(&self) -> bool
true
if the circuit is a private. Read moreimpl<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,
fn 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.
fn 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.
This method constructs a boolean that indicates if
self
and other
are not equal to each other.
type Output = Boolean<E>
impl<E, I> From<&Integer<E, I>> for LinearCombination<<E as Environment>::BaseField>where
E: Environment,
I: IntegerType,
impl<E, I> From<&Integer<E, I>> for LinearCombination<<E as Environment>::BaseField>where
E: Environment,
I: IntegerType,
fn from(
integer: &Integer<E, I>
) -> LinearCombination<<E as Environment>::BaseField>
fn from(
integer: &Integer<E, I>
) -> LinearCombination<<E as Environment>::BaseField>
impl<E, I> From<Integer<E, I>> for LinearCombination<<E as Environment>::BaseField>where
E: Environment,
I: IntegerType,
impl<E, I> From<Integer<E, I>> for LinearCombination<<E as Environment>::BaseField>where
E: Environment,
I: IntegerType,
fn from(
integer: Integer<E, I>
) -> LinearCombination<<E as Environment>::BaseField>
fn from(
integer: Integer<E, I>
) -> LinearCombination<<E as Environment>::BaseField>
impl<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,
fn from_bits_le(
bits_le: &[<Integer<E, I> as FromBits>::Boolean]
) -> Integer<E, I>
fn from_bits_le(
bits_le: &[<Integer<E, I> as FromBits>::Boolean]
) -> Integer<E, I>
Initializes a new integer from a list of little-endian bits with trailing zeros.
fn from_bits_be(
bits_be: &[<Integer<E, I> as FromBits>::Boolean]
) -> Integer<E, I>
fn from_bits_be(
bits_be: &[<Integer<E, I> as FromBits>::Boolean]
) -> Integer<E, I>
Initializes a new integer from a list of big-endian bits with leading zeros.
type Boolean = Boolean<E>
impl<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,
impl<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,
impl<E, I> Inject for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Inject for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> MSB for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> MSB for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AbsChecked<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AbsChecked<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AbsWrapped<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AbsWrapped<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Add<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Add<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Compare<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Compare<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Div<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Div<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Equal<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Equal<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Mul<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Mul<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Neg<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Neg<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Not<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Not<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn One<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn One<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I, M> Metrics<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I> Metrics<dyn Rem<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Rem<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Shl<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Shl<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I, M> Metrics<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I> Metrics<dyn Shr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Shr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I, M> Metrics<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> Metrics<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I> Metrics<dyn Sub<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Sub<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Zero<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Metrics<dyn Zero<Boolean = Boolean<E>> + 'static> 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,
impl<E, I> Modulo<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,
impl<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,
impl<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,
impl<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,
impl<E, I> Mul<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,
impl<E, I> MulAssign<&Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
fn mul_assign(&mut self, other: &Integer<E, I>)
fn mul_assign(&mut self, other: &Integer<E, I>)
*=
operation. Read moreimpl<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,
fn mul_assign(&mut self, other: Integer<E, I>)
fn mul_assign(&mut self, other: Integer<E, I>)
*=
operation. Read moreimpl<E, I> MulChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> MulChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Output = Integer<E, I>
fn mul_checked(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as MulChecked<Integer<E, I>>>::Output
impl<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,
type Output = Integer<E, I>
fn mul_wrapped(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as MulWrapped<Integer<E, I>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
impl<E, I> OutputMode<dyn AbsChecked<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn AbsChecked<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AbsChecked<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AbsChecked<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn AbsWrapped<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn AbsWrapped<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AbsWrapped<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AbsWrapped<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Add<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Add<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AddChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn AddWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (CircuitType<Integer<E, I>>, CircuitType<Integer<E, I>>)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitAnd<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (CircuitType<Integer<E, I>>, CircuitType<Integer<E, I>>)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitOr<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (CircuitType<Integer<E, I>>, CircuitType<Integer<E, I>>)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn BitXor<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Compare<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Compare<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Div<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Div<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn DivChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn DivWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Equal<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Equal<Integer<E, I>, Output = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Mul<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Mul<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn MulChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn MulWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Neg<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Neg<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Neg<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Neg<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Not<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Not<Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Not<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Not<Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn One<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn One<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = ()
fn output_mode(
_case: &<Integer<E, I> as OutputMode<dyn One<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
fn output_mode(
_case: &<Integer<E, I> as OutputMode<dyn One<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
impl<E, I, M> OutputMode<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, CircuitType<Integer<E, M>>)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn PowChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I, M> OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, CircuitType<Integer<E, M>>)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Rem<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Rem<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn RemChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn RemWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Shl<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Shl<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I, M> OutputMode<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShlChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I, M> OutputMode<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShlWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Shr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Shr<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I, M> OutputMode<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShrChecked<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I, M> OutputMode<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> OutputMode<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn ShrWrapped<Integer<E, M>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Sub<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Sub<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn SubChecked<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn SubWrapped<Integer<E, I>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = (CircuitType<Boolean<E>>, Mode, Mode)
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn Ternary<Boolean = Boolean<E>, Output = Integer<E, I>> + 'static>>::Case
) -> Mode
impl<E, I> OutputMode<dyn Zero<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> OutputMode<dyn Zero<Boolean = Boolean<E>> + 'static> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Case = ()
fn output_mode(
_case: &<Integer<E, I> as OutputMode<dyn Zero<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
fn output_mode(
_case: &<Integer<E, I> as OutputMode<dyn Zero<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
impl<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,
impl<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,
impl<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,
impl<E, I, M> PowChecked<Integer<E, M>> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
impl<E, I, M> PowChecked<Integer<E, M>> for Integer<E, I>where
E: Environment,
I: IntegerType,
M: Magnitude,
fn pow_checked(
&self,
other: &Integer<E, M>
) -> <Integer<E, I> as PowChecked<Integer<E, M>>>::Output
fn pow_checked(
&self,
other: &Integer<E, M>
) -> <Integer<E, I> as PowChecked<Integer<E, M>>>::Output
Returns the power
of self
to the power of other
.
type Output = Integer<E, I>
impl<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,
type Output = Integer<E, I>
fn pow_wrapped(
&self,
other: &Integer<E, M>
) -> <Integer<E, I> as PowWrapped<Integer<E, M>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn rem_assign(&mut self, other: &Integer<E, I>)
fn rem_assign(&mut self, other: &Integer<E, I>)
%=
operation. Read moreimpl<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,
fn rem_assign(&mut self, other: Integer<E, I>)
fn rem_assign(&mut self, other: Integer<E, I>)
%=
operation. Read moreimpl<E, I> RemChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> RemChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Output = Integer<E, I>
fn rem_checked(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as RemChecked<Integer<E, I>>>::Output
impl<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,
type Output = Integer<E, I>
fn rem_wrapped(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as RemWrapped<Integer<E, I>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn shl_assign(&mut self, rhs: &Integer<E, M>)
fn shl_assign(&mut self, rhs: &Integer<E, M>)
<<=
operation. Read moreimpl<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,
fn shl_assign(&mut self, rhs: Integer<E, M>)
fn shl_assign(&mut self, rhs: Integer<E, M>)
<<=
operation. Read moreimpl<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,
type Output = Integer<E, I>
fn shl_checked(
&self,
rhs: &Integer<E, M>
) -> <Integer<E, I> as ShlChecked<Integer<E, M>>>::Output
impl<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,
type Output = Integer<E, I>
fn shl_wrapped(
&self,
rhs: &Integer<E, M>
) -> <Integer<E, I> as ShlWrapped<Integer<E, M>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn shr_assign(&mut self, rhs: &Integer<E, M>)
fn shr_assign(&mut self, rhs: &Integer<E, M>)
>>=
operation. Read moreimpl<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,
fn shr_assign(&mut self, rhs: Integer<E, M>)
fn shr_assign(&mut self, rhs: Integer<E, M>)
>>=
operation. Read moreimpl<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,
type Output = Integer<E, I>
fn shr_checked(
&self,
rhs: &Integer<E, M>
) -> <Integer<E, I> as ShrChecked<Integer<E, M>>>::Output
impl<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,
type Output = Integer<E, I>
fn shr_wrapped(
&self,
rhs: &Integer<E, M>
) -> <Integer<E, I> as ShrWrapped<Integer<E, M>>>::Output
impl<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,
impl<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,
impl<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,
impl<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,
impl<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,
fn sub_assign(&mut self, other: &Integer<E, I>)
fn sub_assign(&mut self, other: &Integer<E, I>)
-=
operation. Read moreimpl<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,
fn sub_assign(&mut self, other: Integer<E, I>)
fn sub_assign(&mut self, other: Integer<E, I>)
-=
operation. Read moreimpl<E, I> SubChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> SubChecked<Integer<E, I>> for Integer<E, I>where
E: Environment,
I: IntegerType,
type Output = Integer<E, I>
fn sub_checked(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as SubChecked<Integer<E, I>>>::Output
impl<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,
type Output = Integer<E, I>
fn sub_wrapped(
&self,
other: &Integer<E, I>
) -> <Integer<E, I> as SubWrapped<Integer<E, I>>>::Output
impl<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,
impl<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,
fn to_bits_le(&self) -> Vec<<&Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<&Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Outputs the little-endian bit representation of self
with trailing zeros.
fn to_bits_be(&self) -> Vec<<&Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<&Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Outputs the big-endian bit representation of self
with leading zeros.
type Boolean = Boolean<E>
impl<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,
fn to_bits_le(&self) -> Vec<<Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Outputs the little-endian bit representation of self
with trailing zeros.
fn to_bits_be(&self) -> Vec<<Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<Integer<E, I> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Outputs the big-endian bit representation of self
with leading zeros.