Trait SpongeParamsForField

Source
pub trait SpongeParamsForField<F: Field> {
    // Required method
    fn get_params() -> &'static SpongeParams<F>;
}

Required Methods§

Source

fn get_params() -> &'static SpongeParams<F>

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.

Implementations on Foreign Types§

Source§

impl SpongeParamsForField<Fp256<FpParameters>> for Fp

Source§

fn get_params() -> &'static SpongeParams<Fp>

Source§

impl SpongeParamsForField<Fp256<FqParameters>> for Fq

Source§

fn get_params() -> &'static SpongeParams<Fq>

Implementors§