snarkvm_console_algorithms::environment::prelude

Trait GroupTrait

Source
pub trait GroupTrait<S>:
    'static
    + Add<Output = Self, Output = Self>
    + for<'a> Add<&'a Self>
    + AddAssign
    + for<'a> AddAssign<&'a Self>
    + Clone
    + Copy
    + Debug
    + Double<Output = Self>
    + Eq
    + Equal
    + Mul<S>
    + for<'a> Mul<&'a S>
    + MulAssign<S>
    + for<'a> MulAssign<&'a S>
    + Neg<Output = Self>
    + Parser
    + Send
    + SizeInBits
    + SizeInBytes
    + Sync
    + Sub<Output = Self, Output = Self>
    + for<'a> Sub<&'a Self>
    + SubAssign
    + for<'a> SubAssign<&'a Self>
    + Sum
    + for<'a> Sum<&'a Self>
    + TypeName
    + Uniform
    + Visibility
    + Zero
where S: ScalarTrait,
{ }
Expand description

Representation of a group 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§

Source§

impl<E> GroupTrait<Scalar<E>> for Group<E>
where E: Environment,