snarkvm_circuit_environment::traits

Trait FieldTrait

Source
pub trait FieldTrait:
    Add<Output = Self>
    + AddAssign
    + Clone
    + Div<Output = Self>
    + DivAssign
    + Double<Output = Self>
    + Eject
    + Equal
    + FromBits
    + FromBoolean
    + Inject
    + Inv
    + Mul<Output = Self>
    + MulAssign
    + Neg<Output = Self>
    + One
    + Parser
    + Pow<Self, Output = Self>
    + Square<Output = Self>
    + Sub<Output = Self>
    + SubAssign
    + Ternary
    + ToBits
    + TypeName
    + Zero { }
Expand description

Representation of a base field element.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§