Skip to main content

VerificationKeyHashInterface

Trait VerificationKeyHashInterface 

Source
pub trait VerificationKeyHashInterface {
    type W: WitnessGenerator<Fp>;
    type Bool: BoolInterface;

    // Required method
    fn equal(a: &Self, b: &Self, w: &mut Self::W) -> Self::Bool;
}

Required Associated Types§

Required Methods§

Source

fn equal(a: &Self, b: &Self, w: &mut Self::W) -> Self::Bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl VerificationKeyHashInterface for Option<Fp>

Source§

type W = ()

Source§

type Bool = bool

Source§

fn equal(a: &Self, b: &Self, _w: &mut Self::W) -> Self::Bool

Implementors§