pub trait IntoScalar: Copy {
    // Required method
    fn into_fr(self) -> Scalar;
}
Expand description

A conversion into an element of the field Scalar.

Required Methods§

source

fn into_fr(self) -> Scalar

Converts self to a field element.

Implementations on Foreign Types§

source§

impl IntoScalar for i64

source§

impl IntoScalar for usize

source§

impl IntoScalar for i32

source§

impl IntoScalar for u64

source§

impl<'a, T: IntoScalar> IntoScalar for &'a T

Implementors§