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