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§

source§

impl<E> ToGroup for Address<E>where E: Environment,

§

type Group = Group<E>

§

type Scalar = Scalar<E>