Trait snarkvm_console_types::prelude::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,