Trait FromFpFq

Source
pub trait FromFpFq {
    // Required methods
    fn from_fp(fp: Fp) -> Self;
    fn from_fq(fp: Fq) -> Self;
}
Expand description

Trait helping converting generics into concrete types

Required Methods§

Source

fn from_fp(fp: Fp) -> Self

Source

fn from_fq(fp: Fq) -> Self

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 FromFpFq for Fp

Source§

fn from_fp(fp: Fp) -> Self

Source§

fn from_fq(_fq: Fq) -> Self

Source§

impl FromFpFq for Fq

Source§

fn from_fp(fp: Fp) -> Self

Source§

fn from_fq(fq: Fq) -> Self

Implementors§