pub trait IntoScalar: Copy {
// Required method
fn into_scalar(self) -> Scalar;
}Expand description
A conversion into an element of the scalar field.
Required Methods§
Sourcefn into_scalar(self) -> Scalar
fn into_scalar(self) -> Scalar
Converts self to a field 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.