pub trait Double {
    type Output;

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

Unary operator for retrieving the doubled value.

Required Associated Types§

Required Methods§

source

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

Implementations on Foreign Types§

§

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

§

fn double(&self) -> <Field<E> as Double>::Output

Returns the double of self.

§

type Output = Field<E>

§

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

§

fn double(&self) -> <Group<E> as Double>::Output

Returns the double of self.

§

type Output = Group<E>

§

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

§

fn double(&self) -> <Scalar<E> as Double>::Output

Returns the double of self.

§

type Output = Scalar<E>

Implementors§