Type Alias FpPoint

Source
pub type FpPoint<F> = ProperCrtUint<F>;

Aliased Type§

struct FpPoint<F>(/* private fields */);

Implementations

Source§

impl<F: ScalarField> ProperCrtUint<F>

Source

pub fn limbs(&self) -> &[AssignedValue<F>]

Source

pub fn native(&self) -> &AssignedValue<F>

Source

pub fn value(&self) -> BigUint

Trait Implementations

Source§

impl<F: ScalarField> AsRef<CRTInteger<F>> for ProperCrtUint<F>

Source§

fn as_ref(&self) -> &CRTInteger<F>

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<F: Clone + ScalarField> Clone for ProperCrtUint<F>

Source§

fn clone(&self) -> ProperCrtUint<F>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<F: Debug + ScalarField> Debug for ProperCrtUint<F>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, F: ScalarField> From<&'a ProperCrtUint<F>> for ProperCrtUint<F>

Source§

fn from(x: &'a ProperCrtUint<F>) -> Self

Converts to this type from the input type.
Source§

impl<F: ScalarField, Fp> From<Reduced<ProperCrtUint<F>, Fp>> for ProperCrtUint<F>

Source§

fn from(x: Reduced<ProperCrtUint<F>, Fp>) -> Self

Converts to this type from the input type.