snarkvm_console_algorithms::environment

Trait Double

Source
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

Implementors§

Source§

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

Source§

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

Source§

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