pub trait Legendre {
// Required method
fn legendre(&self) -> i64;
// Provided methods
fn ct_quadratic_non_residue(&self) -> Choice { ... }
fn ct_quadratic_residue(&self) -> Choice { ... }
}
pub trait Legendre {
// Required method
fn legendre(&self) -> i64;
// Provided methods
fn ct_quadratic_non_residue(&self) -> Choice { ... }
fn ct_quadratic_residue(&self) -> Choice { ... }
}