pub trait FieldElemAsStr: PrimeField<Repr = [u8; 32]> {
    // Provided methods
    fn to_string(&self) -> String { ... }
    fn from_str(hex: &str) -> GenericResult<Self> { ... }
}

Provided Methods§

source

fn to_string(&self) -> String

source

fn from_str(hex: &str) -> GenericResult<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FieldElemAsStr for Base

source§

impl FieldElemAsStr for Scalar

Implementors§