ark_r1cs_std::groups

Trait GroupOpsBounds

Source
pub trait GroupOpsBounds<'a, G, T: 'a>:
    Sized
    + Add<&'a T, Output = T>
    + Sub<&'a T, Output = T>
    + Add<T, Output = T>
    + Sub<T, Output = T>
    + Add<G, Output = T>
    + Sub<G, Output = T> { }
Expand description

A hack used to work around the lack of implied bounds.

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<'a, P, F> GroupOpsBounds<'a, Projective<P>, ProjectiveVar<P, F>> for &'a ProjectiveVar<P, F>

Source§

impl<'a, P, F> GroupOpsBounds<'a, Projective<P>, ProjectiveVar<P, F>> for ProjectiveVar<P, F>

Source§

impl<'a, P, F> GroupOpsBounds<'a, Projective<P>, AffineVar<P, F>> for &'a AffineVar<P, F>

Source§

impl<'a, P, F> GroupOpsBounds<'a, Projective<P>, AffineVar<P, F>> for AffineVar<P, F>