sunscreen_math/field/
mod.rs

1use crate::ring::Ring;
2
3/// A trait for fields.
4pub trait Field: Ring {
5    /// Compute the inverse of `self`
6    fn inverse(&self) -> Self;
7}
8
9/// A marker trait denoting this configuration is for a field
10pub trait FieldConfig {}