pub struct Group<E> where
    E: Environment
{ /* private fields */ }

Implementations

Initializes an affine group element from a given x-coordinate field element. For safety, the resulting point is always enforced to be on the curve with constraints.

Initializes an affine group element from a given x- and y-coordinate field element. For safety, the resulting point is always enforced to be on the curve with constraints.

Returns the product of the group element and the cofactor.

Returns the x-coordinate of the group element.

Returns the y-coordinate of the group element.

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

Performs the += operation. Read more

Performs the += operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Ejects the mode of the group element.

Ejects the group as a constant group element.

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.

This method costs 8 constraints.

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.

This method costs 8 constraints.

Returns the affine group element in the address.

Initializes an address from an affine group element.

Converts to this type from the input type.

Returns the affine group element in the address.

Initializes an address from an affine group element.

Converts to this type from the input type.

Initializes a new group element from the x-coordinate as a list of little-endian bits without trailing zeros.

Initializes a new group element from the x-coordinate as a list of big-endian bits without leading zeros.

Parses a string into a group circuit.

The associated error which can be returned from parsing.

Initializes a new affine group element.

For safety, the resulting point is always enforced to be on the curve with constraints. regardless of whether the y-coordinate was recovered.

Initializes a constant of the given primitive value. Read more

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

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

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

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 *= 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.

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 a group circuit.

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.x without trailing zeros.

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

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

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

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.