Field

Trait Field 

Source
pub trait Field: Ring {
    // Required method
    fn inverse(&self) -> Self;
}
Expand description

A trait for fields.

Required Methods§

Source

fn inverse(&self) -> Self

Compute the inverse of self

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.

Implementors§

Source§

impl<const N: usize, B: FieldBackend + ArithmeticBackend<N>> Field for Zq<N, B>