Struct FinFldPoly

Source
pub struct FinFldPoly { /* private fields */ }

Implementations§

Source§

impl FinFldPoly

Source

pub fn with_capacity(capacity: usize, ctx: &FinFldCtx) -> Self

Source

pub fn zero(ctx: &FinFldCtx) -> FinFldPoly

Source

pub fn one(ctx: &FinFldCtx) -> FinFldPoly

Source

pub const fn as_ptr(&self) -> *const fq_default_poly_struct

Source

pub fn as_mut_ptr(&mut self) -> *mut fq_default_poly_struct

Source

pub fn ctx_as_ptr(&self) -> *const fq_default_ctx_struct

Source

pub const unsafe fn from_raw( inner: fq_default_poly_struct, ctx: FinFldCtx, ) -> Self

Source

pub const fn into_raw(self) -> fq_default_poly_struct

Source

pub fn context(&self) -> &FinFldCtx

Source

pub fn modulus(&self) -> IntModPoly

Trait Implementations§

Source§

impl Add<&FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the + operation. Read more
Source§

impl Add<&FinFldPoly> for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the + operation. Read more
Source§

impl Add<FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the + operator.
Source§

fn add(self, rhs: FinFldPoly) -> FinFldPoly

Performs the + operation. Read more
Source§

impl Add for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the + operator.
Source§

fn add(self, rhs: FinFldPoly) -> FinFldPoly

Performs the + operation. Read more
Source§

impl AddAssign<&FinFldPoly> for FinFldPoly

Source§

fn add_assign(&mut self, rhs: &FinFldPoly)

Performs the += operation. Read more
Source§

impl AddAssign for FinFldPoly

Source§

fn add_assign(&mut self, rhs: FinFldPoly)

Performs the += operation. Read more
Source§

impl AddFrom<&FinFldPoly> for FinFldPoly

Source§

fn add_from(&mut self, lhs: &FinFldPoly)

Source§

impl AddFrom for FinFldPoly

Source§

fn add_from(&mut self, lhs: FinFldPoly)

Source§

impl AsRef<FinFldPoly> for FinFldPoly

Source§

fn as_ref(&self) -> &FinFldPoly

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

impl AssignAdd<&FinFldPoly> for FinFldPoly

Source§

fn assign_add(&mut self, lhs: &FinFldPoly, rhs: FinFldPoly)

Source§

impl AssignAdd<&FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_add(&mut self, lhs: &FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignAdd<FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_add(&mut self, lhs: FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignAdd for FinFldPoly

Source§

fn assign_add(&mut self, lhs: FinFldPoly, rhs: FinFldPoly)

Source§

impl AssignMul<&FinFldPoly> for FinFldPoly

Source§

fn assign_mul(&mut self, lhs: &FinFldPoly, rhs: FinFldPoly)

Source§

impl AssignMul<&FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_mul(&mut self, lhs: &FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignMul<FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_mul(&mut self, lhs: FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignMul for FinFldPoly

Source§

fn assign_mul(&mut self, lhs: FinFldPoly, rhs: FinFldPoly)

Source§

impl AssignSub<&FinFldPoly> for FinFldPoly

Source§

fn assign_sub(&mut self, lhs: &FinFldPoly, rhs: FinFldPoly)

Source§

impl AssignSub<&FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_sub(&mut self, lhs: &FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignSub<FinFldPoly, &FinFldPoly> for FinFldPoly

Source§

fn assign_sub(&mut self, lhs: FinFldPoly, rhs: &FinFldPoly)

Source§

impl AssignSub for FinFldPoly

Source§

fn assign_sub(&mut self, lhs: FinFldPoly, rhs: FinFldPoly)

Source§

impl Clone for FinFldPoly

Source§

fn clone(&self) -> Self

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 Debug for FinFldPoly

Source§

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

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

impl Drop for FinFldPoly

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl Mul<&FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the * operation. Read more
Source§

impl Mul<&FinFldPoly> for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the * operation. Read more
Source§

impl Mul<FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: FinFldPoly) -> FinFldPoly

Performs the * operation. Read more
Source§

impl Mul for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: FinFldPoly) -> FinFldPoly

Performs the * operation. Read more
Source§

impl MulAssign<&FinFldPoly> for FinFldPoly

Source§

fn mul_assign(&mut self, rhs: &FinFldPoly)

Performs the *= operation. Read more
Source§

impl MulAssign for FinFldPoly

Source§

fn mul_assign(&mut self, rhs: FinFldPoly)

Performs the *= operation. Read more
Source§

impl MulFrom<&FinFldPoly> for FinFldPoly

Source§

fn mul_from(&mut self, lhs: &FinFldPoly)

Source§

impl MulFrom for FinFldPoly

Source§

fn mul_from(&mut self, lhs: FinFldPoly)

Source§

impl Neg for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn neg(self) -> FinFldPoly

Performs the unary - operation. Read more
Source§

impl Neg for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn neg(self) -> FinFldPoly

Performs the unary - operation. Read more
Source§

impl NegAssign for FinFldPoly

Source§

fn neg_assign(&mut self)

Source§

impl PartialEq<&FinFldPoly> for FinFldPoly

Source§

fn eq(&self, rhs: &&FinFldPoly) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<FinFldPoly> for &FinFldPoly

Source§

fn eq(&self, rhs: &FinFldPoly) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for FinFldPoly

Source§

fn eq(&self, rhs: &FinFldPoly) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Sub<&FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the - operation. Read more
Source§

impl Sub<&FinFldPoly> for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &FinFldPoly) -> FinFldPoly

Performs the - operation. Read more
Source§

impl Sub<FinFldPoly> for &FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: FinFldPoly) -> FinFldPoly

Performs the - operation. Read more
Source§

impl Sub for FinFldPoly

Source§

type Output = FinFldPoly

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: FinFldPoly) -> FinFldPoly

Performs the - operation. Read more
Source§

impl SubAssign<&FinFldPoly> for FinFldPoly

Source§

fn sub_assign(&mut self, rhs: &FinFldPoly)

Performs the -= operation. Read more
Source§

impl SubAssign for FinFldPoly

Source§

fn sub_assign(&mut self, rhs: FinFldPoly)

Performs the -= operation. Read more
Source§

impl SubFrom<&FinFldPoly> for FinFldPoly

Source§

fn sub_from(&mut self, lhs: &FinFldPoly)

Source§

impl SubFrom for FinFldPoly

Source§

fn sub_from(&mut self, lhs: FinFldPoly)

Source§

impl Eq for FinFldPoly

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AddOps for T
where T: for<'a> AddAssign<&'a T> + for<'a> AddFrom<&'a T>,

Source§

impl<T> MulOps for T
where T: for<'a> MulAssign<&'a T> + for<'a> MulFrom<&'a T>,

Source§

impl<T> NegOps for T
where T: NegAssign,

Source§

impl<T> SubOps for T
where T: for<'a> SubAssign<&'a T> + for<'a> SubFrom<&'a T>,