pub trait Scalar<F: Field> { // Required method fn scalar(&self) -> F; }
Trait that implements functionality to get a scalar from commonly used types.
Returns a scalar for the type.