pub struct BaseField;Trait Implementations§
Source§impl Field for BaseField
impl Field for BaseField
const Q: Self::Int = {transmute(0x007fe001): <algebra::BaseField as module_lattice::algebra::Field>::Int}
const QL: Self::Long = {transmute(0x00000000007fe001): <algebra::BaseField as module_lattice::algebra::Field>::Long}
const QLL: Self::LongLong = {transmute(0x000000000000000000000000007fe001): <algebra::BaseField as module_lattice::algebra::Field>::LongLong}
const BARRETT_SHIFT: usize = 46usize
const BARRETT_MULTIPLIER: Self::LongLong = {transmute(0x00000000000000000000000000802007): <algebra::BaseField as module_lattice::algebra::Field>::LongLong}
type Int = u32
type Long = u64
type LongLong = u128
fn small_reduce(x: Self::Int) -> Self::Int
fn barrett_reduce(x: Self::Long) -> Self::Int
impl Copy for BaseField
impl StructuralPartialEq for BaseField
Auto Trait Implementations§
impl Freeze for BaseField
impl RefUnwindSafe for BaseField
impl Send for BaseField
impl Sync for BaseField
impl Unpin for BaseField
impl UnwindSafe for BaseField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more