Struct ff_cl_gen::Limb32 [−][src]
pub struct Limb32(_);
Trait Implementations
impl Limb for Limb32
[src]
impl Limb for Limb32
[src]type LimbType = u32
fn zero() -> Self
[src]
fn new(val: Self::LimbType) -> Self
[src]
fn value(&self) -> Self::LimbType
[src]
fn bits() -> usize
[src]
fn ptx_info() -> (&'static str, &'static str)
[src]
fn opencl_type() -> &'static str
[src]
fn calc_inv(a: Self) -> Self
[src]
fn calc_inv(a: Self) -> Self
[src]Calculate the INV
parameter of Montgomery reduction algorithm for 32/64bit limbs Read more
fn calculate_r2<F: PrimeField>() -> Vec<Self>
[src]
fn limbs_of<T>(value: T) -> Vec<Self>
[src]
impl Copy for Limb32
[src]
Auto Trait Implementations
impl RefUnwindSafe for Limb32
impl Send for Limb32
impl Sync for Limb32
impl Unpin for Limb32
impl UnwindSafe for Limb32
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more