snarkvm_circuit_environment::traits

Trait ToGroup

Source
pub trait ToGroup {
    type Group: GroupTrait<Self::Scalar>;
    type Scalar: ScalarTrait;

    // Required method
    fn to_group(&self) -> Self::Group;
}
Expand description

Unary operator for converting to an affine group.

Required Associated Types§

Required Methods§

Source

fn to_group(&self) -> Self::Group

Returns the circuit as a list of affine group elements.

Implementors§