Trait snarkvm_console_network::ScalarTrait

source ·
pub trait ScalarTrait:
    'static
    + Add<Output = Self, Output = Self>
    + for<'a> Add<&'a Self>
    + AddAssign
    + for<'a> AddAssign<&'a Self>
    + Clone
    + Copy
    + Compare
    + Debug
    + Deref
    + Div<Output = Self, Output = Self>
    + for<'a> Div<&'a Self>
    + DivAssign
    + for<'a> DivAssign<&'a Self>
    + Double<Output = Self>
    + Eq
    + Equal
    + Inverse<Output = Self>
    + Mul<Output = Self, Output = Self>
    + for<'a> Mul<&'a Self>
    + MulAssign
    + for<'a> MulAssign<&'a Self>
    + Neg<Output = Self>
    + One
    + Parser
    + Pow<Self, Output = Self, Output = Self>
    + for<'a> Pow<&'a Self>
    + Product
    + for<'a> Product<&'a Self>
    + Send
    + SizeInBits
    + SizeInDataBits
    + SizeInBytes
    + Sync
    + Square<Output = Self>
    + Sub<Output = Self, Output = Self>
    + for<'a> Sub<&'a Self>
    + SubAssign
    + for<'a> SubAssign<&'a Self>
    + Sum
    + for<'a> Sum<&'a Self>
    + TypeName
    + Uniform
    + Zero { }
Expand description

Representation of a scalar field element.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

Implementors§