pub struct Integer<E, I>where
    E: Environment,
    I: IntegerType,
{ /* private fields */ }

Implementations§

Trait Implementations§

The resulting type after applying the + operator.
Performs the + operation. Read more
The resulting type after applying the + operator.
Performs the + operation. Read more
The resulting type after applying the + operator.
Performs the + operation. Read more
The resulting type after applying the + operator.
Performs the + operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more

Returns (self AND other).

The resulting type after applying the & operator.

Returns (self AND other).

The resulting type after applying the & operator.

Returns (self AND other).

The resulting type after applying the & operator.

Returns (self AND other).

The resulting type after applying the & operator.

Sets self as (self AND other).

Sets self as (self AND other).

Returns (self OR other).

The resulting type after applying the | operator.

Returns (self OR other).

The resulting type after applying the | operator.

Returns (self OR other).

The resulting type after applying the | operator.

Returns (self OR other).

The resulting type after applying the | operator.

Sets self as (self OR other).

Sets self as (self OR other).

Returns (self != other).

The resulting type after applying the ^ operator.

Returns (self != other).

The resulting type after applying the ^ operator.

Returns (self != other).

The resulting type after applying the ^ operator.

Returns (self != other).

The resulting type after applying the ^ operator.

Sets self as (self != other).

Sets self as (self != other).

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the / operator.
Performs the / operation. Read more
The resulting type after applying the / operator.
Performs the / operation. Read more
The resulting type after applying the / operator.
Performs the / operation. Read more
The resulting type after applying the / operator.
Performs the / operation. Read more
Performs the /= operation. Read more
Performs the /= operation. Read more

Ejects the mode of the integer.

Ejects the integer circuit as a console integer value.

Ejects the mode and primitive value of the circuit type. Read more
Returns true if the circuit is a constant. Read more
Returns true if the circuit is a public. Read more
Returns true if the circuit is a private. Read more

Returns true if self and other are equal.

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.

Converts to this type from the input type.
Converts to this type from the input type.

Initializes a new integer from a list of little-endian bits with trailing zeros.

Initializes a new integer from a list of big-endian bits with leading zeros.

Casts an integer from a base field.

Parses a string into an integer circuit.

The associated error which can be returned from parsing.

Initializes a new integer.

Initializes a constant of the given primitive value. Read more

Returns the MSB of the integer.

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
Returns the number of constants, public inputs, private inputs, and constraints.
The resulting type after applying the * operator.
Performs the * operation. Read more
The resulting type after applying the * operator.
Performs the * operation. Read more
The resulting type after applying the * operator.
Performs the * operation. Read more
The resulting type after applying the * operator.
Performs the * operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more

Performs the unary - operation.

The resulting type after applying the - operator.

Performs the unary - operation.

The resulting type after applying the - operator.
The resulting type after applying the ! operator.
Performs the unary ! operation. Read more
The resulting type after applying the ! operator.
Performs the unary ! operation. Read more
Returns a new one constant.
Returns true if self is one.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.
Returns the mode of the output.

Parses a string into an integer circuit.

Returns the power of self to the power of other.

The result after applying the operator.

Returns the power of self to the power of other.

The result after applying the operator.

Returns the power of self to the power of other.

The resulting type after applying the % operator.
Performs the % operation. Read more
The resulting type after applying the % operator.
Performs the % operation. Read more
The resulting type after applying the % operator.
Performs the % operation. Read more
The resulting type after applying the % operator.
Performs the % operation. Read more
Performs the %= operation. Read more
Performs the %= operation. Read more
The resulting type after applying the << operator.
Performs the << operation. Read more
The resulting type after applying the << operator.
Performs the << operation. Read more
The resulting type after applying the << operator.
Performs the << operation. Read more
The resulting type after applying the << operator.
Performs the << operation. Read more
Performs the <<= operation. Read more
Performs the <<= operation. Read more
The resulting type after applying the >> operator.
Performs the >> operation. Read more
The resulting type after applying the >> operator.
Performs the >> operation. Read more
The resulting type after applying the >> operator.
Performs the >> operation. Read more
The resulting type after applying the >> operator.
Performs the >> operation. Read more
Performs the >>= operation. Read more
Performs the >>= operation. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more

Returns first if condition is true, otherwise returns second.

Outputs the little-endian bit representation of self with trailing zeros.

Outputs the big-endian bit representation of self with leading zeros.

Outputs the little-endian bit representation of self with trailing zeros.

Outputs the big-endian bit representation of self with leading zeros.

Casts an integer into a base field.

Casts an integer into a list of base fields.

Returns the type name of the circuit as a string.

Returns a new zero constant.
Returns true if self is zero.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.