pub trait Double {
    type Output;

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

Unary operator for retrieving the doubled value.

Required Associated Types§

type Output

Required Methods§

fn double(&self) -> Self::Output

Implementors§

§

impl<E> Double for Field<E>
where E: Environment,

§

type Output = Field<E>

§

impl<E> Double for Group<E>
where E: Environment,

§

type Output = Group<E>

§

impl<E> Double for Scalar<E>
where E: Environment,

§

type Output = Scalar<E>