snarkvm_console_types_boolean

Trait FieldTrait

Source
pub trait FieldTrait:
    '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
    + FromBytes
    + Hash
    + Inverse<Output = Self>
    + Mul<Output = Self, Output = Self>
    + for<'a> Mul<&'a Self>
    + MulAssign
    + for<'a> MulAssign<&'a Self>
    + Neg<Output = Self>
    + One
    + Ord
    + 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>
    + SquareRoot<Output = Self>
    + Sub<Output = Self, Output = Self>
    + for<'a> Sub<&'a Self>
    + SubAssign
    + for<'a> SubAssign<&'a Self>
    + Sum
    + for<'a> Sum<&'a Self>
    + ToBytes
    + TypeName
    + Uniform
    + 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§