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

    // Required method
    fn from_group(group: Self::Group) -> Self;
}
Expand description

Unary operator for converting from an affine group element.

Required Associated Types§

Required Methods§

source

fn from_group(group: Self::Group) -> Self

Casts a circuit from an affine group element.

Implementors§

§

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

§

type Group = Group<E>

§

type Scalar = Scalar<E>