pub struct BaseField;Trait Implementations§
Source§impl Field for BaseField
impl Field for BaseField
const Q: Self::Int = 8_380_417
const QL: Self::Long = 8_380_417
const QLL: Self::LongLong = 8_380_417
const BARRETT_SHIFT: usize
const BARRETT_MULTIPLIER: Self::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 UnsafeUnpin 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