Trait BigUintFieldHelpers

Source
pub trait BigUintFieldHelpers {
    // Required method
    fn to_field<F: PrimeField>(self) -> Result<F>;
}
Expand description

Field element wrapper for BigUint

Required Methods§

Source

fn to_field<F: PrimeField>(self) -> Result<F>

Convert BigUint into PrimeField element

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 BigUintFieldHelpers for BigUint

Source§

fn to_field<F: PrimeField>(self) -> Result<F>

Implementors§