Skip to main content

IntoFr

Trait IntoFr 

Source
pub trait IntoFr: Copy {
    // Required method
    fn into_fr(self) -> Fr;
}
Expand description

A conversion into an element of the field Fr.

Required Methods§

Source

fn into_fr(self) -> Fr

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".

Implementations on Foreign Types§

Source§

impl IntoFr for i32

Source§

fn into_fr(self) -> Fr

Source§

impl IntoFr for i64

Source§

fn into_fr(self) -> Fr

Source§

impl IntoFr for u64

Source§

fn into_fr(self) -> Fr

Source§

impl IntoFr for usize

Source§

fn into_fr(self) -> Fr

Source§

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

Source§

fn into_fr(self) -> Fr

Implementors§