halo2curves::ff_ext::cubic

Trait CubicSparseMul

Source
pub trait CubicSparseMul {
    type Base: ExtField;

    // Provided methods
    fn mul_by_1(
        lhs: &CubicExtField<Self::Base>,
        c1: &Self::Base,
    ) -> CubicExtField<Self::Base> { ... }
    fn mul_by_01(
        lhs: &CubicExtField<Self::Base>,
        c0: &Self::Base,
        c1: &Self::Base,
    ) -> CubicExtField<Self::Base> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn mul_by_1( lhs: &CubicExtField<Self::Base>, c1: &Self::Base, ) -> CubicExtField<Self::Base>

Source

fn mul_by_01( lhs: &CubicExtField<Self::Base>, c0: &Self::Base, c1: &Self::Base, ) -> CubicExtField<Self::Base>

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§