pub struct B8(/* private fields */);
Implementations§
Source§impl BinaryField8b
impl BinaryField8b
Trait Implementations§
Source§impl Add<&BinaryField8b> for BinaryField8b
impl Add<&BinaryField8b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: &BinaryField8b,
) -> <BinaryField8b as Add<&BinaryField8b>>::Output
fn add( self, rhs: &BinaryField8b, ) -> <BinaryField8b as Add<&BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField128b> for BinaryField8b
impl Add<BinaryField128b> for BinaryField8b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField128b,
) -> <BinaryField8b as Add<BinaryField128b>>::Output
fn add( self, rhs: BinaryField128b, ) -> <BinaryField8b as Add<BinaryField128b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField16b> for BinaryField8b
impl Add<BinaryField16b> for BinaryField8b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField16b,
) -> <BinaryField8b as Add<BinaryField16b>>::Output
fn add( self, rhs: BinaryField16b, ) -> <BinaryField8b as Add<BinaryField16b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField1b> for BinaryField8b
impl Add<BinaryField1b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField1b,
) -> <BinaryField8b as Add<BinaryField1b>>::Output
fn add( self, rhs: BinaryField1b, ) -> <BinaryField8b as Add<BinaryField1b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField2b> for BinaryField8b
impl Add<BinaryField2b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField2b,
) -> <BinaryField8b as Add<BinaryField2b>>::Output
fn add( self, rhs: BinaryField2b, ) -> <BinaryField8b as Add<BinaryField2b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField32b> for BinaryField8b
impl Add<BinaryField32b> for BinaryField8b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField32b,
) -> <BinaryField8b as Add<BinaryField32b>>::Output
fn add( self, rhs: BinaryField32b, ) -> <BinaryField8b as Add<BinaryField32b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField4b> for BinaryField8b
impl Add<BinaryField4b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField4b,
) -> <BinaryField8b as Add<BinaryField4b>>::Output
fn add( self, rhs: BinaryField4b, ) -> <BinaryField8b as Add<BinaryField4b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField64b> for BinaryField8b
impl Add<BinaryField64b> for BinaryField8b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField64b,
) -> <BinaryField8b as Add<BinaryField64b>>::Output
fn add( self, rhs: BinaryField64b, ) -> <BinaryField8b as Add<BinaryField64b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField8b> for BinaryField128b
impl Add<BinaryField8b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField8b,
) -> <BinaryField128b as Add<BinaryField8b>>::Output
fn add( self, rhs: BinaryField8b, ) -> <BinaryField128b as Add<BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField8b> for BinaryField16b
impl Add<BinaryField8b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField8b,
) -> <BinaryField16b as Add<BinaryField8b>>::Output
fn add( self, rhs: BinaryField8b, ) -> <BinaryField16b as Add<BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField8b> for BinaryField1b
impl Add<BinaryField8b> for BinaryField1b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField8b,
) -> <BinaryField1b as Add<BinaryField8b>>::Output
fn add( self, rhs: BinaryField8b, ) -> <BinaryField1b as Add<BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField8b> for BinaryField32b
impl Add<BinaryField8b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField8b,
) -> <BinaryField32b as Add<BinaryField8b>>::Output
fn add( self, rhs: BinaryField8b, ) -> <BinaryField32b as Add<BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField8b> for BinaryField64b
impl Add<BinaryField8b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField8b,
) -> <BinaryField64b as Add<BinaryField8b>>::Output
fn add( self, rhs: BinaryField8b, ) -> <BinaryField64b as Add<BinaryField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add for BinaryField8b
impl Add for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
+
operator.Source§fn add(self, rhs: BinaryField8b) -> <BinaryField8b as Add>::Output
fn add(self, rhs: BinaryField8b) -> <BinaryField8b as Add>::Output
Performs the
+
operation. Read moreSource§impl AddAssign<&BinaryField8b> for BinaryField8b
impl AddAssign<&BinaryField8b> for BinaryField8b
Source§fn add_assign(&mut self, rhs: &BinaryField8b)
fn add_assign(&mut self, rhs: &BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField8b
impl AddAssign<BinaryField1b> for BinaryField8b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField2b> for BinaryField8b
impl AddAssign<BinaryField2b> for BinaryField8b
Source§fn add_assign(&mut self, rhs: BinaryField2b)
fn add_assign(&mut self, rhs: BinaryField2b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField4b> for BinaryField8b
impl AddAssign<BinaryField4b> for BinaryField8b
Source§fn add_assign(&mut self, rhs: BinaryField4b)
fn add_assign(&mut self, rhs: BinaryField4b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField8b> for BinaryField128b
impl AddAssign<BinaryField8b> for BinaryField128b
Source§fn add_assign(&mut self, rhs: BinaryField8b)
fn add_assign(&mut self, rhs: BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField8b> for BinaryField16b
impl AddAssign<BinaryField8b> for BinaryField16b
Source§fn add_assign(&mut self, rhs: BinaryField8b)
fn add_assign(&mut self, rhs: BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField8b> for BinaryField32b
impl AddAssign<BinaryField8b> for BinaryField32b
Source§fn add_assign(&mut self, rhs: BinaryField8b)
fn add_assign(&mut self, rhs: BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField8b> for BinaryField64b
impl AddAssign<BinaryField8b> for BinaryField64b
Source§fn add_assign(&mut self, rhs: BinaryField8b)
fn add_assign(&mut self, rhs: BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AddAssign for BinaryField8b
impl AddAssign for BinaryField8b
Source§fn add_assign(&mut self, rhs: BinaryField8b)
fn add_assign(&mut self, rhs: BinaryField8b)
Performs the
+=
operation. Read moreSource§impl AsSinglePacked for BinaryField8b
impl AsSinglePacked for BinaryField8b
type Packed = PackedPrimitiveType<u8, BinaryField8b>
fn to_single_packed(self) -> Self::Packed
fn from_single_packed(value: Self::Packed) -> Self
Source§impl BinaryField for BinaryField8b
impl BinaryField for BinaryField8b
const MULTIPLICATIVE_GENERATOR: BinaryField8b
const N_BITS: usize = Self::DEGREE
Source§impl Clone for BinaryField8b
impl Clone for BinaryField8b
Source§fn clone(&self) -> BinaryField8b
fn clone(&self) -> BinaryField8b
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ConditionallySelectable for BinaryField8b
impl ConditionallySelectable for BinaryField8b
Source§fn conditional_select(
a: &BinaryField8b,
b: &BinaryField8b,
choice: Choice,
) -> BinaryField8b
fn conditional_select( a: &BinaryField8b, b: &BinaryField8b, choice: Choice, ) -> BinaryField8b
Source§fn conditional_assign(&mut self, other: &Self, choice: Choice)
fn conditional_assign(&mut self, other: &Self, choice: Choice)
Source§fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
Conditionally swap
self
and other
if choice == 1
; otherwise,
reassign both unto themselves. Read moreSource§impl ConstantTimeEq for BinaryField8b
impl ConstantTimeEq for BinaryField8b
Source§impl Debug for BinaryField8b
impl Debug for BinaryField8b
Source§impl Default for BinaryField8b
impl Default for BinaryField8b
Source§fn default() -> BinaryField8b
fn default() -> BinaryField8b
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for BinaryField8b
impl DeserializeBytes for BinaryField8b
fn deserialize( read_buf: impl Buf, mode: SerializationMode, ) -> Result<BinaryField8b, SerializationError>
Source§impl Display for BinaryField8b
impl Display for BinaryField8b
Source§impl ExtensionField<BinaryField1b> for BinaryField8b
impl ExtensionField<BinaryField1b> for BinaryField8b
Source§const LOG_DEGREE: usize = 3usize
const LOG_DEGREE: usize = 3usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField1b>,
log_stride: usize,
) -> Result<BinaryField8b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, log_stride: usize, ) -> Result<BinaryField8b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField2b> for BinaryField8b
impl ExtensionField<BinaryField2b> for BinaryField8b
Source§const LOG_DEGREE: usize = 2usize
const LOG_DEGREE: usize = 2usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField2b>,
log_stride: usize,
) -> Result<BinaryField8b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField2b>, log_stride: usize, ) -> Result<BinaryField8b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField2b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField2b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField2b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField2b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField2b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField2b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField4b> for BinaryField8b
impl ExtensionField<BinaryField4b> for BinaryField8b
Source§const LOG_DEGREE: usize = 1usize
const LOG_DEGREE: usize = 1usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
fn basis_checked(i: usize) -> Result<BinaryField8b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField4b>,
log_stride: usize,
) -> Result<BinaryField8b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField4b>, log_stride: usize, ) -> Result<BinaryField8b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField4b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField4b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField4b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField4b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField4b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField4b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField8b> for BinaryField128b
impl ExtensionField<BinaryField8b> for BinaryField128b
Source§const LOG_DEGREE: usize = 4usize
const LOG_DEGREE: usize = 4usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField128b, Error>
fn basis_checked(i: usize) -> Result<BinaryField128b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField8b>,
log_stride: usize,
) -> Result<BinaryField128b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField8b>, log_stride: usize, ) -> Result<BinaryField128b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField8b> for BinaryField16b
impl ExtensionField<BinaryField8b> for BinaryField16b
Source§const LOG_DEGREE: usize = 1usize
const LOG_DEGREE: usize = 1usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField16b, Error>
fn basis_checked(i: usize) -> Result<BinaryField16b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField8b>,
log_stride: usize,
) -> Result<BinaryField16b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField8b>, log_stride: usize, ) -> Result<BinaryField16b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField8b> for BinaryField32b
impl ExtensionField<BinaryField8b> for BinaryField32b
Source§const LOG_DEGREE: usize = 2usize
const LOG_DEGREE: usize = 2usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField32b, Error>
fn basis_checked(i: usize) -> Result<BinaryField32b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField8b>,
log_stride: usize,
) -> Result<BinaryField32b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField8b>, log_stride: usize, ) -> Result<BinaryField32b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField8b> for BinaryField64b
impl ExtensionField<BinaryField8b> for BinaryField64b
Source§const LOG_DEGREE: usize = 3usize
const LOG_DEGREE: usize = 3usize
Base-2 logarithm of the extension degree.
Source§fn basis_checked(i: usize) -> Result<BinaryField64b, Error>
fn basis_checked(i: usize) -> Result<BinaryField64b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField8b>,
log_stride: usize,
) -> Result<BinaryField64b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField8b>, log_stride: usize, ) -> Result<BinaryField64b, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField8b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField8b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField8b
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl Field for BinaryField8b
impl Field for BinaryField8b
Source§const ZERO: BinaryField8b
const ZERO: BinaryField8b
The zero element of the field, the additive identity.
Source§const ONE: BinaryField8b
const ONE: BinaryField8b
The one element of the field, the multiplicative identity.
Source§const CHARACTERISTIC: usize = 2usize
const CHARACTERISTIC: usize = 2usize
The characteristic of the field.
Source§fn random(rng: impl RngCore) -> BinaryField8b
fn random(rng: impl RngCore) -> BinaryField8b
Returns an element chosen uniformly at random using a user-provided RNG.
Source§fn double(&self) -> BinaryField8b
fn double(&self) -> BinaryField8b
Doubles this element.
Source§fn invert(&self) -> Option<Self>
fn invert(&self) -> Option<Self>
Computes the multiplicative inverse of this element,
failing if the element is zero.
Source§impl From<(BinaryField4b, BinaryField4b)> for BinaryField8b
impl From<(BinaryField4b, BinaryField4b)> for BinaryField8b
Source§fn from(_: (BinaryField4b, BinaryField4b)) -> BinaryField8b
fn from(_: (BinaryField4b, BinaryField4b)) -> BinaryField8b
Converts to this type from the input type.
Source§impl From<AESTowerField8b> for BinaryField8b
impl From<AESTowerField8b> for BinaryField8b
Source§fn from(value: AESTowerField8b) -> BinaryField8b
fn from(value: AESTowerField8b) -> BinaryField8b
Converts to this type from the input type.
Source§impl From<BinaryField1b> for BinaryField8b
impl From<BinaryField1b> for BinaryField8b
Source§fn from(elem: BinaryField1b) -> BinaryField8b
fn from(elem: BinaryField1b) -> BinaryField8b
Converts to this type from the input type.
Source§impl From<BinaryField2b> for BinaryField8b
impl From<BinaryField2b> for BinaryField8b
Source§fn from(elem: BinaryField2b) -> BinaryField8b
fn from(elem: BinaryField2b) -> BinaryField8b
Converts to this type from the input type.
Source§impl From<BinaryField4b> for BinaryField8b
impl From<BinaryField4b> for BinaryField8b
Source§fn from(elem: BinaryField4b) -> BinaryField8b
fn from(elem: BinaryField4b) -> BinaryField8b
Converts to this type from the input type.
Source§impl From<BinaryField8b> for BinaryField128b
impl From<BinaryField8b> for BinaryField128b
Source§fn from(elem: BinaryField8b) -> BinaryField128b
fn from(elem: BinaryField8b) -> BinaryField128b
Converts to this type from the input type.
Source§impl From<BinaryField8b> for BinaryField16b
impl From<BinaryField8b> for BinaryField16b
Source§fn from(elem: BinaryField8b) -> BinaryField16b
fn from(elem: BinaryField8b) -> BinaryField16b
Converts to this type from the input type.
Source§impl From<BinaryField8b> for BinaryField32b
impl From<BinaryField8b> for BinaryField32b
Source§fn from(elem: BinaryField8b) -> BinaryField32b
fn from(elem: BinaryField8b) -> BinaryField32b
Converts to this type from the input type.
Source§impl From<BinaryField8b> for BinaryField64b
impl From<BinaryField8b> for BinaryField64b
Source§fn from(elem: BinaryField8b) -> BinaryField64b
fn from(elem: BinaryField8b) -> BinaryField64b
Converts to this type from the input type.
Source§impl From<u8> for BinaryField8b
impl From<u8> for BinaryField8b
Source§fn from(val: u8) -> BinaryField8b
fn from(val: u8) -> BinaryField8b
Converts to this type from the input type.
Source§impl Hash for BinaryField8b
impl Hash for BinaryField8b
Source§impl InvertOrZero for BinaryField8b
impl InvertOrZero for BinaryField8b
Source§fn invert_or_zero(self) -> BinaryField8b
fn invert_or_zero(self) -> BinaryField8b
Returns the inverted value or zero in case when
self
is zeroSource§impl Mul<&BinaryField8b> for BinaryField8b
impl Mul<&BinaryField8b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: &BinaryField8b,
) -> <BinaryField8b as Mul<&BinaryField8b>>::Output
fn mul( self, rhs: &BinaryField8b, ) -> <BinaryField8b as Mul<&BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField128b> for BinaryField8b
impl Mul<BinaryField128b> for BinaryField8b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField128b,
) -> <BinaryField8b as Mul<BinaryField128b>>::Output
fn mul( self, rhs: BinaryField128b, ) -> <BinaryField8b as Mul<BinaryField128b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField16b> for BinaryField8b
impl Mul<BinaryField16b> for BinaryField8b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField16b,
) -> <BinaryField8b as Mul<BinaryField16b>>::Output
fn mul( self, rhs: BinaryField16b, ) -> <BinaryField8b as Mul<BinaryField16b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField1b> for BinaryField8b
impl Mul<BinaryField1b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField1b,
) -> <BinaryField8b as Mul<BinaryField1b>>::Output
fn mul( self, rhs: BinaryField1b, ) -> <BinaryField8b as Mul<BinaryField1b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField2b> for BinaryField8b
impl Mul<BinaryField2b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField2b,
) -> <BinaryField8b as Mul<BinaryField2b>>::Output
fn mul( self, rhs: BinaryField2b, ) -> <BinaryField8b as Mul<BinaryField2b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField32b> for BinaryField8b
impl Mul<BinaryField32b> for BinaryField8b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField32b,
) -> <BinaryField8b as Mul<BinaryField32b>>::Output
fn mul( self, rhs: BinaryField32b, ) -> <BinaryField8b as Mul<BinaryField32b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField4b> for BinaryField8b
impl Mul<BinaryField4b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField4b,
) -> <BinaryField8b as Mul<BinaryField4b>>::Output
fn mul( self, rhs: BinaryField4b, ) -> <BinaryField8b as Mul<BinaryField4b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField64b> for BinaryField8b
impl Mul<BinaryField64b> for BinaryField8b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField64b,
) -> <BinaryField8b as Mul<BinaryField64b>>::Output
fn mul( self, rhs: BinaryField64b, ) -> <BinaryField8b as Mul<BinaryField64b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField8b> for BinaryField128b
impl Mul<BinaryField8b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField8b,
) -> <BinaryField128b as Mul<BinaryField8b>>::Output
fn mul( self, rhs: BinaryField8b, ) -> <BinaryField128b as Mul<BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField8b> for BinaryField16b
impl Mul<BinaryField8b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField8b,
) -> <BinaryField16b as Mul<BinaryField8b>>::Output
fn mul( self, rhs: BinaryField8b, ) -> <BinaryField16b as Mul<BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField8b> for BinaryField1b
impl Mul<BinaryField8b> for BinaryField1b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField8b,
) -> <BinaryField1b as Mul<BinaryField8b>>::Output
fn mul( self, rhs: BinaryField8b, ) -> <BinaryField1b as Mul<BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField8b> for BinaryField32b
impl Mul<BinaryField8b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField8b,
) -> <BinaryField32b as Mul<BinaryField8b>>::Output
fn mul( self, rhs: BinaryField8b, ) -> <BinaryField32b as Mul<BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField8b> for BinaryField64b
impl Mul<BinaryField8b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField8b,
) -> <BinaryField64b as Mul<BinaryField8b>>::Output
fn mul( self, rhs: BinaryField8b, ) -> <BinaryField64b as Mul<BinaryField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul for BinaryField8b
impl Mul for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: BinaryField8b) -> <BinaryField8b as Mul>::Output
fn mul(self, rhs: BinaryField8b) -> <BinaryField8b as Mul>::Output
Performs the
*
operation. Read moreSource§impl MulAssign<&BinaryField8b> for BinaryField8b
impl MulAssign<&BinaryField8b> for BinaryField8b
Source§fn mul_assign(&mut self, rhs: &BinaryField8b)
fn mul_assign(&mut self, rhs: &BinaryField8b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField8b
impl MulAssign<BinaryField1b> for BinaryField8b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField2b> for BinaryField8b
impl MulAssign<BinaryField2b> for BinaryField8b
Source§fn mul_assign(&mut self, rhs: BinaryField2b)
fn mul_assign(&mut self, rhs: BinaryField2b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField4b> for BinaryField8b
impl MulAssign<BinaryField4b> for BinaryField8b
Source§fn mul_assign(&mut self, rhs: BinaryField4b)
fn mul_assign(&mut self, rhs: BinaryField4b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField8b> for BinaryField128b
impl MulAssign<BinaryField8b> for BinaryField128b
Source§fn mul_assign(&mut self, rhs: BinaryField8b)
fn mul_assign(&mut self, rhs: BinaryField8b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField8b> for BinaryField16b
impl MulAssign<BinaryField8b> for BinaryField16b
Source§fn mul_assign(&mut self, rhs: BinaryField8b)
fn mul_assign(&mut self, rhs: BinaryField8b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField8b> for BinaryField32b
impl MulAssign<BinaryField8b> for BinaryField32b
Source§fn mul_assign(&mut self, rhs: BinaryField8b)
fn mul_assign(&mut self, rhs: BinaryField8b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField8b> for BinaryField64b
impl MulAssign<BinaryField8b> for BinaryField64b
Source§fn mul_assign(&mut self, rhs: BinaryField8b)
fn mul_assign(&mut self, rhs: BinaryField8b)
Performs the
*=
operation. Read moreSource§impl MulAssign for BinaryField8b
impl MulAssign for BinaryField8b
Source§fn mul_assign(&mut self, rhs: BinaryField8b)
fn mul_assign(&mut self, rhs: BinaryField8b)
Performs the
*=
operation. Read moreSource§impl Neg for BinaryField8b
impl Neg for BinaryField8b
Source§impl Ord for BinaryField8b
impl Ord for BinaryField8b
Source§fn cmp(&self, other: &BinaryField8b) -> Ordering
fn cmp(&self, other: &BinaryField8b) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryField8b
impl PartialEq for BinaryField8b
Source§impl PartialOrd for BinaryField8b
impl PartialOrd for BinaryField8b
Source§impl<'a> Product<&'a BinaryField8b> for BinaryField8b
impl<'a> Product<&'a BinaryField8b> for BinaryField8b
Source§fn product<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = &'a BinaryField8b>,
fn product<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = &'a BinaryField8b>,
Takes an iterator and generates
Self
from the elements by multiplying
the items.Source§impl Product for BinaryField8b
impl Product for BinaryField8b
Source§fn product<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = BinaryField8b>,
fn product<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = BinaryField8b>,
Takes an iterator and generates
Self
from the elements by multiplying
the items.Source§impl SerializeBytes for BinaryField8b
impl SerializeBytes for BinaryField8b
fn serialize( &self, write_buf: impl BufMut, mode: SerializationMode, ) -> Result<(), SerializationError>
Source§impl Square for BinaryField8b
impl Square for BinaryField8b
Source§fn square(self) -> BinaryField8b
fn square(self) -> BinaryField8b
Returns the value multiplied by itself
Source§impl Sub<&BinaryField8b> for BinaryField8b
impl Sub<&BinaryField8b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: &BinaryField8b,
) -> <BinaryField8b as Sub<&BinaryField8b>>::Output
fn sub( self, rhs: &BinaryField8b, ) -> <BinaryField8b as Sub<&BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField128b> for BinaryField8b
impl Sub<BinaryField128b> for BinaryField8b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField128b,
) -> <BinaryField8b as Sub<BinaryField128b>>::Output
fn sub( self, rhs: BinaryField128b, ) -> <BinaryField8b as Sub<BinaryField128b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField16b> for BinaryField8b
impl Sub<BinaryField16b> for BinaryField8b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField16b,
) -> <BinaryField8b as Sub<BinaryField16b>>::Output
fn sub( self, rhs: BinaryField16b, ) -> <BinaryField8b as Sub<BinaryField16b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField1b> for BinaryField8b
impl Sub<BinaryField1b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField1b,
) -> <BinaryField8b as Sub<BinaryField1b>>::Output
fn sub( self, rhs: BinaryField1b, ) -> <BinaryField8b as Sub<BinaryField1b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField2b> for BinaryField8b
impl Sub<BinaryField2b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField2b,
) -> <BinaryField8b as Sub<BinaryField2b>>::Output
fn sub( self, rhs: BinaryField2b, ) -> <BinaryField8b as Sub<BinaryField2b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField32b> for BinaryField8b
impl Sub<BinaryField32b> for BinaryField8b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField32b,
) -> <BinaryField8b as Sub<BinaryField32b>>::Output
fn sub( self, rhs: BinaryField32b, ) -> <BinaryField8b as Sub<BinaryField32b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField4b> for BinaryField8b
impl Sub<BinaryField4b> for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField4b,
) -> <BinaryField8b as Sub<BinaryField4b>>::Output
fn sub( self, rhs: BinaryField4b, ) -> <BinaryField8b as Sub<BinaryField4b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField64b> for BinaryField8b
impl Sub<BinaryField64b> for BinaryField8b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField64b,
) -> <BinaryField8b as Sub<BinaryField64b>>::Output
fn sub( self, rhs: BinaryField64b, ) -> <BinaryField8b as Sub<BinaryField64b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField8b> for BinaryField128b
impl Sub<BinaryField8b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField8b,
) -> <BinaryField128b as Sub<BinaryField8b>>::Output
fn sub( self, rhs: BinaryField8b, ) -> <BinaryField128b as Sub<BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField8b> for BinaryField16b
impl Sub<BinaryField8b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField8b,
) -> <BinaryField16b as Sub<BinaryField8b>>::Output
fn sub( self, rhs: BinaryField8b, ) -> <BinaryField16b as Sub<BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField8b> for BinaryField1b
impl Sub<BinaryField8b> for BinaryField1b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField8b,
) -> <BinaryField1b as Sub<BinaryField8b>>::Output
fn sub( self, rhs: BinaryField8b, ) -> <BinaryField1b as Sub<BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField8b> for BinaryField32b
impl Sub<BinaryField8b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField8b,
) -> <BinaryField32b as Sub<BinaryField8b>>::Output
fn sub( self, rhs: BinaryField8b, ) -> <BinaryField32b as Sub<BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField8b> for BinaryField64b
impl Sub<BinaryField8b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField8b,
) -> <BinaryField64b as Sub<BinaryField8b>>::Output
fn sub( self, rhs: BinaryField8b, ) -> <BinaryField64b as Sub<BinaryField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub for BinaryField8b
impl Sub for BinaryField8b
Source§type Output = BinaryField8b
type Output = BinaryField8b
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: BinaryField8b) -> <BinaryField8b as Sub>::Output
fn sub(self, rhs: BinaryField8b) -> <BinaryField8b as Sub>::Output
Performs the
-
operation. Read moreSource§impl SubAssign<&BinaryField8b> for BinaryField8b
impl SubAssign<&BinaryField8b> for BinaryField8b
Source§fn sub_assign(&mut self, rhs: &BinaryField8b)
fn sub_assign(&mut self, rhs: &BinaryField8b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField8b
impl SubAssign<BinaryField1b> for BinaryField8b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField2b> for BinaryField8b
impl SubAssign<BinaryField2b> for BinaryField8b
Source§fn sub_assign(&mut self, rhs: BinaryField2b)
fn sub_assign(&mut self, rhs: BinaryField2b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField4b> for BinaryField8b
impl SubAssign<BinaryField4b> for BinaryField8b
Source§fn sub_assign(&mut self, rhs: BinaryField4b)
fn sub_assign(&mut self, rhs: BinaryField4b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField8b> for BinaryField128b
impl SubAssign<BinaryField8b> for BinaryField128b
Source§fn sub_assign(&mut self, rhs: BinaryField8b)
fn sub_assign(&mut self, rhs: BinaryField8b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField8b> for BinaryField16b
impl SubAssign<BinaryField8b> for BinaryField16b
Source§fn sub_assign(&mut self, rhs: BinaryField8b)
fn sub_assign(&mut self, rhs: BinaryField8b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField8b> for BinaryField32b
impl SubAssign<BinaryField8b> for BinaryField32b
Source§fn sub_assign(&mut self, rhs: BinaryField8b)
fn sub_assign(&mut self, rhs: BinaryField8b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField8b> for BinaryField64b
impl SubAssign<BinaryField8b> for BinaryField64b
Source§fn sub_assign(&mut self, rhs: BinaryField8b)
fn sub_assign(&mut self, rhs: BinaryField8b)
Performs the
-=
operation. Read moreSource§impl SubAssign for BinaryField8b
impl SubAssign for BinaryField8b
Source§fn sub_assign(&mut self, rhs: BinaryField8b)
fn sub_assign(&mut self, rhs: BinaryField8b)
Performs the
-=
operation. Read moreSource§impl<'a> Sum<&'a BinaryField8b> for BinaryField8b
impl<'a> Sum<&'a BinaryField8b> for BinaryField8b
Source§fn sum<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = &'a BinaryField8b>,
fn sum<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = &'a BinaryField8b>,
Takes an iterator and generates
Self
from the elements by “summing up”
the items.Source§impl Sum for BinaryField8b
impl Sum for BinaryField8b
Source§fn sum<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = BinaryField8b>,
fn sum<I>(iter: I) -> BinaryField8bwhere
I: Iterator<Item = BinaryField8b>,
Takes an iterator and generates
Self
from the elements by “summing up”
the items.Source§impl TowerField for BinaryField8b
impl TowerField for BinaryField8b
Source§const TOWER_LEVEL: usize = 3usize
const TOWER_LEVEL: usize = 3usize
The level $\iota$ in the tower, where this field is isomorphic to $T_{\iota}$.
Source§type Canonical = BinaryField8b
type Canonical = BinaryField8b
The canonical field isomorphic to this tower field.
Currently for every tower field, the canonical field is Fan-Paar’s binary field of the same
degree.
Source§fn min_tower_level(self) -> usize
fn min_tower_level(self) -> usize
Returns the smallest valid
TOWER_LEVEL
in the tower that can fit the same value. Read moreSource§fn mul_primitive(self, iota: usize) -> Result<BinaryField8b, Error>
fn mul_primitive(self, iota: usize) -> Result<BinaryField8b, Error>
Multiplies a field element by the canonical primitive element of the extension $T_{\iota +
1} / T_{iota}$. Read more
Source§impl TransparentWrapper<u8> for BinaryField8b
impl TransparentWrapper<u8> for BinaryField8b
§fn wrap_ref(s: &Inner) -> &Self
fn wrap_ref(s: &Inner) -> &Self
Convert a reference to the inner type into a reference to the wrapper
type.
§fn wrap_mut(s: &mut Inner) -> &mut Self
fn wrap_mut(s: &mut Inner) -> &mut Self
Convert a mutable reference to the inner type into a mutable reference to
the wrapper type.
§fn wrap_slice(s: &[Inner]) -> &[Self]where
Self: Sized,
fn wrap_slice(s: &[Inner]) -> &[Self]where
Self: Sized,
Convert a slice to the inner type into a slice to the wrapper type.
§fn wrap_slice_mut(s: &mut [Inner]) -> &mut [Self]where
Self: Sized,
fn wrap_slice_mut(s: &mut [Inner]) -> &mut [Self]where
Self: Sized,
Convert a mutable slice to the inner type into a mutable slice to the
wrapper type.
§fn peel_ref(s: &Self) -> &Inner
fn peel_ref(s: &Self) -> &Inner
Convert a reference to the wrapper type into a reference to the inner
type.
§fn peel_mut(s: &mut Self) -> &mut Inner
fn peel_mut(s: &mut Self) -> &mut Inner
Convert a mutable reference to the wrapper type into a mutable reference
to the inner type.
§fn peel_slice(s: &[Self]) -> &[Inner]where
Self: Sized,
fn peel_slice(s: &[Self]) -> &[Inner]where
Self: Sized,
Convert a slice to the wrapped type into a slice to the inner type.
§fn peel_slice_mut(s: &mut [Self]) -> &mut [Inner]where
Self: Sized,
fn peel_slice_mut(s: &mut [Self]) -> &mut [Inner]where
Self: Sized,
Convert a mutable slice to the wrapped type into a mutable slice to the
inner type.
Source§impl TryFrom<BinaryField128b> for BinaryField8b
impl TryFrom<BinaryField128b> for BinaryField8b
Source§fn try_from(
elem: BinaryField128b,
) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField128b>>::Error>
fn try_from( elem: BinaryField128b, ) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField128b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField16b> for BinaryField8b
impl TryFrom<BinaryField16b> for BinaryField8b
Source§fn try_from(
elem: BinaryField16b,
) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField16b>>::Error>
fn try_from( elem: BinaryField16b, ) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField16b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField32b> for BinaryField8b
impl TryFrom<BinaryField32b> for BinaryField8b
Source§fn try_from(
elem: BinaryField32b,
) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField32b>>::Error>
fn try_from( elem: BinaryField32b, ) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField32b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField64b> for BinaryField8b
impl TryFrom<BinaryField64b> for BinaryField8b
Source§fn try_from(
elem: BinaryField64b,
) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField64b>>::Error>
fn try_from( elem: BinaryField64b, ) -> Result<BinaryField8b, <BinaryField8b as TryFrom<BinaryField64b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField8b> for BinaryField1b
impl TryFrom<BinaryField8b> for BinaryField1b
Source§fn try_from(
elem: BinaryField8b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField8b>>::Error>
fn try_from( elem: BinaryField8b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField8b>>::Error>
Performs the conversion.
Source§impl WithUnderlier for BinaryField8b
impl WithUnderlier for BinaryField8b
Source§fn to_underlier(self) -> <BinaryField8b as WithUnderlier>::Underlier
fn to_underlier(self) -> <BinaryField8b as WithUnderlier>::Underlier
Convert value to underlier.
fn to_underlier_ref(&self) -> &<BinaryField8b as WithUnderlier>::Underlier
fn to_underlier_ref_mut( &mut self, ) -> &mut <BinaryField8b as WithUnderlier>::Underlier
fn to_underliers_ref( val: &[BinaryField8b], ) -> &[<BinaryField8b as WithUnderlier>::Underlier]
fn to_underliers_ref_mut( val: &mut [BinaryField8b], ) -> &mut [<BinaryField8b as WithUnderlier>::Underlier]
fn from_underlier( val: <BinaryField8b as WithUnderlier>::Underlier, ) -> BinaryField8b
fn from_underlier_ref( val: &<BinaryField8b as WithUnderlier>::Underlier, ) -> &BinaryField8b
fn from_underlier_ref_mut( val: &mut <BinaryField8b as WithUnderlier>::Underlier, ) -> &mut BinaryField8b
fn from_underliers_ref( val: &[<BinaryField8b as WithUnderlier>::Underlier], ) -> &[BinaryField8b]
fn from_underliers_ref_mut( val: &mut [<BinaryField8b as WithUnderlier>::Underlier], ) -> &mut [BinaryField8b]
fn to_underliers_arr<const N: usize>(val: [Self; N]) -> [Self::Underlier; N]
fn to_underliers_arr_ref<const N: usize>( val: &[Self; N], ) -> &[Self::Underlier; N]
fn to_underliers_arr_ref_mut<const N: usize>( val: &mut [Self; N], ) -> &mut [Self::Underlier; N]
fn from_underliers_arr<const N: usize>(val: [Self::Underlier; N]) -> [Self; N]
fn from_underliers_arr_ref<const N: usize>( val: &[Self::Underlier; N], ) -> &[Self; N]
fn from_underliers_arr_ref_mut<const N: usize>( val: &mut [Self::Underlier; N], ) -> &mut [Self; N]
fn mutate_underlier( self, f: impl FnOnce(Self::Underlier) -> Self::Underlier, ) -> Self
impl Copy for BinaryField8b
impl Eq for BinaryField8b
impl Pod for BinaryField8b
impl StructuralPartialEq for BinaryField8b
Auto Trait Implementations§
impl Freeze for BinaryField8b
impl RefUnwindSafe for BinaryField8b
impl Send for BinaryField8b
impl Sync for BinaryField8b
impl Unpin for BinaryField8b
impl UnwindSafe for BinaryField8b
Blanket Implementations§
Source§impl<F> ArchOptimal for Fwhere
F: Field,
M128: PackScalar<F>,
impl<F> ArchOptimal for Fwhere
F: Field,
M128: PackScalar<F>,
type OptimalThroughputPacked = <M128 as PackScalar<F>>::Packed
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F> ExtensionField<F> for Fwhere
F: Field,
impl<F> ExtensionField<F> for Fwhere
F: Field,
Source§const LOG_DEGREE: usize = 0usize
const LOG_DEGREE: usize = 0usize
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = F>,
log_stride: usize,
) -> Result<F, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = F>, log_stride: usize, ) -> Result<F, Error>
A specialized version of
from_bases
which assumes that only base field
elements with indices dividing 2^log_stride
can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = F>
fn iter_bases(&self) -> impl Iterator<Item = F>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = F>
fn into_iter_bases(self) -> impl Iterator<Item = F>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> F
unsafe fn get_base_unchecked(&self, i: usize) -> F
Returns the i-th base field element without bounds checking. Read more
Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with
basis(i)
return values.
Potentially faster than taking an inner product with a vector of basis elements.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, PT> PackedExtensionIndexable<F> for PTwhere
F: Field,
PT: PackedExtension<F>,
<PT as PackedExtension<F>>::PackedSubfield: PackedFieldIndexable,
impl<F, PT> PackedExtensionIndexable<F> for PTwhere
F: Field,
PT: PackedExtension<F>,
<PT as PackedExtension<F>>::PackedSubfield: PackedFieldIndexable,
fn unpack_base_scalars(packed: &[Self]) -> &[F]
fn unpack_base_scalars_mut(packed: &mut [Self]) -> &mut [F]
Source§impl<F> PackedField for Fwhere
F: Field,
impl<F> PackedField for Fwhere
F: Field,
Source§const LOG_WIDTH: usize = 0usize
const LOG_WIDTH: usize = 0usize
Base-2 logarithm of the number of field elements packed into one packed element.
type Scalar = F
Source§unsafe fn get_unchecked(&self, _i: usize) -> <F as PackedField>::Scalar
unsafe fn get_unchecked(&self, _i: usize) -> <F as PackedField>::Scalar
Get the scalar at a given index without bounds checking. Read more
Source§unsafe fn set_unchecked(
&mut self,
_i: usize,
scalar: <F as PackedField>::Scalar,
)
unsafe fn set_unchecked( &mut self, _i: usize, scalar: <F as PackedField>::Scalar, )
Set the scalar at a given index without bounds checking. Read more
fn iter( &self, ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
fn into_iter( self, ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
fn iter_slice( slice: &[F], ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
fn random(rng: impl RngCore) -> F
Source§fn interleave(self, _other: F, _log_block_len: usize) -> (F, F)
fn interleave(self, _other: F, _log_block_len: usize) -> (F, F)
Interleaves blocks of this packed vector with another packed vector. Read more
Source§fn unzip(self, _other: F, _log_block_len: usize) -> (F, F)
fn unzip(self, _other: F, _log_block_len: usize) -> (F, F)
Unzips interleaved blocks of this packed vector with another packed vector. Read more
fn broadcast(scalar: <F as PackedField>::Scalar) -> F
Source§fn invert_or_zero(self) -> F
fn invert_or_zero(self) -> F
Returns the packed inverse values or zeroes at indices where
self
is zero.Source§fn from_fn(f: impl FnMut(usize) -> <F as PackedField>::Scalar) -> F
fn from_fn(f: impl FnMut(usize) -> <F as PackedField>::Scalar) -> F
Construct a packed field element from a function that returns scalar values by index.
Source§unsafe fn spread_unchecked(self, _log_block_len: usize, _block_idx: usize) -> F
unsafe fn spread_unchecked(self, _log_block_len: usize, _block_idx: usize) -> F
Unsafe version of
Self::spread
. Read moreSource§fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
Get the scalar at a given index.
Source§fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
Set the scalar at a given index.
fn zero() -> Self
fn one() -> Self
Source§fn set_single(scalar: Self::Scalar) -> Self
fn set_single(scalar: Self::Scalar) -> Self
Initialize zero position with
scalar
, set other elements to zero.Source§fn try_from_fn<E>(
f: impl FnMut(usize) -> Result<Self::Scalar, E>,
) -> Result<Self, E>
fn try_from_fn<E>( f: impl FnMut(usize) -> Result<Self::Scalar, E>, ) -> Result<Self, E>
Creates a packed field from a fallible function applied to each index.
Source§fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
Construct a packed field element from a sequence of scalars. Read more
Source§impl<S, P> PackedFieldIndexable for Pwhere
S: Field,
P: PackedDivisible<S, Scalar = S>,
impl<S, P> PackedFieldIndexable for Pwhere
S: Field,
P: PackedDivisible<S, Scalar = S>,
fn unpack_scalars(packed: &[P]) -> &[<P as PackedField>::Scalar]
fn unpack_scalars_mut(packed: &mut [P]) -> &mut [<P as PackedField>::Scalar]
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<PT> TaggedInvertOrZero<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
impl<PT> TaggedInvertOrZero<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
fn invert_or_zero(self) -> PT
Source§impl<P> TaggedInvertOrZero<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha + InvertOrZero,
impl<P> TaggedInvertOrZero<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha + InvertOrZero,
fn invert_or_zero(self) -> P
Source§impl<PT> TaggedInvertOrZero<PairwiseStrategy> for PT
impl<PT> TaggedInvertOrZero<PairwiseStrategy> for PT
fn invert_or_zero(self) -> PT
Source§impl<P> TaggedMul<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<P as PackedTowerField>::DirectSubfield: MulAlpha,
impl<P> TaggedMul<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<P as PackedTowerField>::DirectSubfield: MulAlpha,
Source§impl<PT> TaggedMul<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
<PT as PackedTowerField>::DirectSubfield: TowerConstants<<PT as WithUnderlier>::Underlier>,
impl<PT> TaggedMul<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
<PT as PackedTowerField>::DirectSubfield: TowerConstants<<PT as WithUnderlier>::Underlier>,
Source§impl<P> TaggedMul<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
impl<P> TaggedMul<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
Source§impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
PT: PackedField,
impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
PT: PackedField,
Source§impl<P> TaggedMulAlpha<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::PackedDirectSubfield: MulAlpha,
impl<P> TaggedMulAlpha<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::PackedDirectSubfield: MulAlpha,
Source§impl<PT> TaggedMulAlpha<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
impl<PT> TaggedMulAlpha<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
Source§impl<P> TaggedMulAlpha<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
impl<P> TaggedMulAlpha<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
Source§impl<PT> TaggedMulAlpha<PairwiseStrategy> for PT
impl<PT> TaggedMulAlpha<PairwiseStrategy> for PT
Source§impl<IP, OP> TaggedPackedTransformationFactory<PackedStrategy, OP> for IPwhere
IP: PackedBinaryField + WithUnderlier,
<IP as WithUnderlier>::Underlier: UnderlierWithBitOps,
OP: PackedBinaryField + WithUnderlier<Underlier = <IP as WithUnderlier>::Underlier>,
impl<IP, OP> TaggedPackedTransformationFactory<PackedStrategy, OP> for IPwhere
IP: PackedBinaryField + WithUnderlier,
<IP as WithUnderlier>::Underlier: UnderlierWithBitOps,
OP: PackedBinaryField + WithUnderlier<Underlier = <IP as WithUnderlier>::Underlier>,
type PackedTransformation<Data: AsRef<[<OP as PackedField>::Scalar]> + Sync> = PackedTransformation<OP>
fn make_packed_transformation<Data>( transformation: FieldLinearTransformation<<OP as PackedField>::Scalar, Data>, ) -> <IP as TaggedPackedTransformationFactory<PackedStrategy, OP>>::PackedTransformation<Data>
Source§impl<IP, OP> TaggedPackedTransformationFactory<PairwiseStrategy, OP> for IPwhere
IP: PackedBinaryField,
OP: PackedBinaryField,
impl<IP, OP> TaggedPackedTransformationFactory<PairwiseStrategy, OP> for IPwhere
IP: PackedBinaryField,
OP: PackedBinaryField,
type PackedTransformation<Data: AsRef<[<OP as PackedField>::Scalar]> + Sync> = PairwiseTransformation<FieldLinearTransformation<<OP as PackedField>::Scalar, Data>>
fn make_packed_transformation<Data>( transformation: FieldLinearTransformation<<OP as PackedField>::Scalar, Data>, ) -> <IP as TaggedPackedTransformationFactory<PairwiseStrategy, OP>>::PackedTransformation<Data>
Source§impl<P> TaggedSquare<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::DirectSubfield: MulAlpha,
impl<P> TaggedSquare<HybridRecursiveStrategy> for Pwhere
P: PackedTowerField,
<P as PackedField>::Scalar: TowerExtensionField<DirectSubfield = <P as PackedTowerField>::DirectSubfield>,
<P as PackedTowerField>::DirectSubfield: MulAlpha,
Source§impl<PT> TaggedSquare<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
impl<PT> TaggedSquare<PackedStrategy> for PTwhere
PT: PackedTowerField,
<PT as PackedTowerField>::PackedDirectSubfield: MulAlpha,
<PT as WithUnderlier>::Underlier: UnderlierWithBitConstants,
Source§impl<P> TaggedSquare<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
impl<P> TaggedSquare<PairwiseRecursiveStrategy> for Pwhere
P: PackedField,
<P as PackedField>::Scalar: TowerExtensionField,
<<P as PackedField>::Scalar as TowerExtensionField>::DirectSubfield: MulAlpha,
Source§impl<PT> TaggedSquare<PairwiseStrategy> for PT
impl<PT> TaggedSquare<PairwiseStrategy> for PT
Source§impl<T> TaggedSquare<ReuseMultiplyStrategy> for T
impl<T> TaggedSquare<ReuseMultiplyStrategy> for T
§impl<I, T> TransparentWrapperAlloc<I> for T
impl<I, T> TransparentWrapperAlloc<I> for T
§fn wrap_vec(s: Vec<Inner>) -> Vec<Self>where
Self: Sized,
fn wrap_vec(s: Vec<Inner>) -> Vec<Self>where
Self: Sized,
Convert a vec of the inner type into a vec of the wrapper type.
§fn wrap_box(s: Box<Inner>) -> Box<Self>
fn wrap_box(s: Box<Inner>) -> Box<Self>
Convert a box to the inner type into a box to the wrapper
type.
§fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
Convert an
Rc
to the inner type into an Rc
to the wrapper type.§fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
Convert an
Arc
to the inner type into an Arc
to the wrapper type.§fn peel_vec(s: Vec<Self>) -> Vec<Inner>where
Self: Sized,
fn peel_vec(s: Vec<Self>) -> Vec<Inner>where
Self: Sized,
Convert a vec of the wrapper type into a vec of the inner type.
§fn peel_box(s: Box<Self>) -> Box<Inner>
fn peel_box(s: Box<Self>) -> Box<Inner>
Convert a box to the wrapper type into a box to the inner
type.