pub struct B1(/* private fields */);
Implementations§
Source§impl BinaryField1b
impl BinaryField1b
Source§impl BinaryField1b
impl BinaryField1b
Sourcepub unsafe fn new_unchecked(val: u8) -> BinaryField1b
pub unsafe fn new_unchecked(val: u8) -> BinaryField1b
Creates value without checking that it is within valid range (0 or 1)
§Safety
Value should not exceed 1
Trait Implementations§
Source§impl Add<&BinaryField1b> for BinaryField1b
impl Add<&BinaryField1b> for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: &BinaryField1b,
) -> <BinaryField1b as Add<&BinaryField1b>>::Output
fn add( self, rhs: &BinaryField1b, ) -> <BinaryField1b as Add<&BinaryField1b>>::Output
Performs the
+
operation. Read moreSource§impl Add<AESTowerField128b> for BinaryField1b
impl Add<AESTowerField128b> for BinaryField1b
Source§type Output = AESTowerField128b
type Output = AESTowerField128b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: AESTowerField128b,
) -> <BinaryField1b as Add<AESTowerField128b>>::Output
fn add( self, rhs: AESTowerField128b, ) -> <BinaryField1b as Add<AESTowerField128b>>::Output
Performs the
+
operation. Read moreSource§impl Add<AESTowerField16b> for BinaryField1b
impl Add<AESTowerField16b> for BinaryField1b
Source§type Output = AESTowerField16b
type Output = AESTowerField16b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: AESTowerField16b,
) -> <BinaryField1b as Add<AESTowerField16b>>::Output
fn add( self, rhs: AESTowerField16b, ) -> <BinaryField1b as Add<AESTowerField16b>>::Output
Performs the
+
operation. Read moreSource§impl Add<AESTowerField32b> for BinaryField1b
impl Add<AESTowerField32b> for BinaryField1b
Source§type Output = AESTowerField32b
type Output = AESTowerField32b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: AESTowerField32b,
) -> <BinaryField1b as Add<AESTowerField32b>>::Output
fn add( self, rhs: AESTowerField32b, ) -> <BinaryField1b as Add<AESTowerField32b>>::Output
Performs the
+
operation. Read moreSource§impl Add<AESTowerField64b> for BinaryField1b
impl Add<AESTowerField64b> for BinaryField1b
Source§type Output = AESTowerField64b
type Output = AESTowerField64b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: AESTowerField64b,
) -> <BinaryField1b as Add<AESTowerField64b>>::Output
fn add( self, rhs: AESTowerField64b, ) -> <BinaryField1b as Add<AESTowerField64b>>::Output
Performs the
+
operation. Read moreSource§impl Add<AESTowerField8b> for BinaryField1b
impl Add<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
type Output = AESTowerField8b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: AESTowerField8b,
) -> <BinaryField1b as Add<AESTowerField8b>>::Output
fn add( self, rhs: AESTowerField8b, ) -> <BinaryField1b as Add<AESTowerField8b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField128b> for BinaryField1b
impl Add<BinaryField128b> for BinaryField1b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField128b,
) -> <BinaryField1b as Add<BinaryField128b>>::Output
fn add( self, rhs: BinaryField128b, ) -> <BinaryField1b as Add<BinaryField128b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField128bPolyval> for BinaryField1b
impl Add<BinaryField128bPolyval> for BinaryField1b
Source§type Output = BinaryField128bPolyval
type Output = BinaryField128bPolyval
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField128bPolyval,
) -> <BinaryField1b as Add<BinaryField128bPolyval>>::Output
fn add( self, rhs: BinaryField128bPolyval, ) -> <BinaryField1b as Add<BinaryField128bPolyval>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField16b> for BinaryField1b
impl Add<BinaryField16b> for BinaryField1b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField16b,
) -> <BinaryField1b as Add<BinaryField16b>>::Output
fn add( self, rhs: BinaryField16b, ) -> <BinaryField1b as Add<BinaryField16b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField1b> for BinaryField128b
impl Add<BinaryField1b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField1b,
) -> <BinaryField128b as Add<BinaryField1b>>::Output
fn add( self, rhs: BinaryField1b, ) -> <BinaryField128b as Add<BinaryField1b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField1b> for BinaryField16b
impl Add<BinaryField1b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField1b,
) -> <BinaryField16b as Add<BinaryField1b>>::Output
fn add( self, rhs: BinaryField1b, ) -> <BinaryField16b as Add<BinaryField1b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField1b> for BinaryField32b
impl Add<BinaryField1b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField1b,
) -> <BinaryField32b as Add<BinaryField1b>>::Output
fn add( self, rhs: BinaryField1b, ) -> <BinaryField32b as Add<BinaryField1b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField1b> for BinaryField64b
impl Add<BinaryField1b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField1b,
) -> <BinaryField64b as Add<BinaryField1b>>::Output
fn add( self, rhs: BinaryField1b, ) -> <BinaryField64b as Add<BinaryField1b>>::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 BinaryField1b
impl Add<BinaryField2b> for BinaryField1b
Source§type Output = BinaryField2b
type Output = BinaryField2b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField2b,
) -> <BinaryField1b as Add<BinaryField2b>>::Output
fn add( self, rhs: BinaryField2b, ) -> <BinaryField1b as Add<BinaryField2b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField32b> for BinaryField1b
impl Add<BinaryField32b> for BinaryField1b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField32b,
) -> <BinaryField1b as Add<BinaryField32b>>::Output
fn add( self, rhs: BinaryField32b, ) -> <BinaryField1b as Add<BinaryField32b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField4b> for BinaryField1b
impl Add<BinaryField4b> for BinaryField1b
Source§type Output = BinaryField4b
type Output = BinaryField4b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField4b,
) -> <BinaryField1b as Add<BinaryField4b>>::Output
fn add( self, rhs: BinaryField4b, ) -> <BinaryField1b as Add<BinaryField4b>>::Output
Performs the
+
operation. Read moreSource§impl Add<BinaryField64b> for BinaryField1b
impl Add<BinaryField64b> for BinaryField1b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: BinaryField64b,
) -> <BinaryField1b as Add<BinaryField64b>>::Output
fn add( self, rhs: BinaryField64b, ) -> <BinaryField1b as Add<BinaryField64b>>::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 for BinaryField1b
impl Add for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
+
operator.Source§fn add(self, rhs: BinaryField1b) -> <BinaryField1b as Add>::Output
fn add(self, rhs: BinaryField1b) -> <BinaryField1b as Add>::Output
Performs the
+
operation. Read moreSource§impl AddAssign<&BinaryField1b> for BinaryField1b
impl AddAssign<&BinaryField1b> for BinaryField1b
Source§fn add_assign(&mut self, rhs: &BinaryField1b)
fn add_assign(&mut self, rhs: &BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField128b
impl AddAssign<BinaryField1b> for BinaryField128b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField16b
impl AddAssign<BinaryField1b> for BinaryField16b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField32b
impl AddAssign<BinaryField1b> for BinaryField32b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField64b
impl AddAssign<BinaryField1b> for BinaryField64b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
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 for BinaryField1b
impl AddAssign for BinaryField1b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+=
operation. Read moreSource§impl AsSinglePacked for BinaryField1b
impl AsSinglePacked for BinaryField1b
type Packed = PackedPrimitiveType<SmallU<1>, BinaryField1b>
fn to_single_packed(self) -> Self::Packed
fn from_single_packed(value: Self::Packed) -> Self
Source§impl BinaryField for BinaryField1b
impl BinaryField for BinaryField1b
const MULTIPLICATIVE_GENERATOR: BinaryField1b
const N_BITS: usize = Self::DEGREE
Source§impl Clone for BinaryField1b
impl Clone for BinaryField1b
Source§fn clone(&self) -> BinaryField1b
fn clone(&self) -> BinaryField1b
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 BinaryField1b
impl ConditionallySelectable for BinaryField1b
Source§fn conditional_select(
a: &BinaryField1b,
b: &BinaryField1b,
choice: Choice,
) -> BinaryField1b
fn conditional_select( a: &BinaryField1b, b: &BinaryField1b, choice: Choice, ) -> BinaryField1b
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 BinaryField1b
impl ConstantTimeEq for BinaryField1b
Source§impl Debug for BinaryField1b
impl Debug for BinaryField1b
Source§impl Default for BinaryField1b
impl Default for BinaryField1b
Source§fn default() -> BinaryField1b
fn default() -> BinaryField1b
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for BinaryField1b
impl DeserializeBytes for BinaryField1b
fn deserialize( read_buf: impl Buf, mode: SerializationMode, ) -> Result<BinaryField1b, SerializationError>
Source§impl Display for BinaryField1b
impl Display for BinaryField1b
Source§impl ExtensionField<BinaryField1b> for BinaryField128b
impl ExtensionField<BinaryField1b> for BinaryField128b
Source§const LOG_DEGREE: usize = 7usize
const LOG_DEGREE: usize = 7usize
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 = BinaryField1b>,
log_stride: usize,
) -> Result<BinaryField128b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, 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 = 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<BinaryField1b> for BinaryField16b
impl ExtensionField<BinaryField1b> for BinaryField16b
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<BinaryField16b, Error>
fn basis_checked(i: usize) -> Result<BinaryField16b, Error>
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField1b>,
log_stride: usize,
) -> Result<BinaryField16b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, 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 = 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<BinaryField1b> for BinaryField32b
impl ExtensionField<BinaryField1b> for BinaryField32b
Source§const LOG_DEGREE: usize = 5usize
const LOG_DEGREE: usize = 5usize
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 = BinaryField1b>,
log_stride: usize,
) -> Result<BinaryField32b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, 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 = 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<BinaryField1b> for BinaryField64b
impl ExtensionField<BinaryField1b> for BinaryField64b
Source§const LOG_DEGREE: usize = 6usize
const LOG_DEGREE: usize = 6usize
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 = BinaryField1b>,
log_stride: usize,
) -> Result<BinaryField64b, Error>
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, 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 = 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<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 Field for BinaryField1b
impl Field for BinaryField1b
Source§const ZERO: BinaryField1b
const ZERO: BinaryField1b
The zero element of the field, the additive identity.
Source§const ONE: BinaryField1b
const ONE: BinaryField1b
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) -> BinaryField1b
fn random(rng: impl RngCore) -> BinaryField1b
Returns an element chosen uniformly at random using a user-provided RNG.
Source§fn double(&self) -> BinaryField1b
fn double(&self) -> BinaryField1b
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<BinaryField1b> for BinaryField128b
impl From<BinaryField1b> for BinaryField128b
Source§fn from(elem: BinaryField1b) -> BinaryField128b
fn from(elem: BinaryField1b) -> BinaryField128b
Converts to this type from the input type.
Source§impl From<BinaryField1b> for BinaryField16b
impl From<BinaryField1b> for BinaryField16b
Source§fn from(elem: BinaryField1b) -> BinaryField16b
fn from(elem: BinaryField1b) -> BinaryField16b
Converts to this type from the input type.
Source§impl From<BinaryField1b> for BinaryField32b
impl From<BinaryField1b> for BinaryField32b
Source§fn from(elem: BinaryField1b) -> BinaryField32b
fn from(elem: BinaryField1b) -> BinaryField32b
Converts to this type from the input type.
Source§impl From<BinaryField1b> for BinaryField64b
impl From<BinaryField1b> for BinaryField64b
Source§fn from(elem: BinaryField1b) -> BinaryField64b
fn from(elem: BinaryField1b) -> BinaryField64b
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<SmallU<1>> for BinaryField1b
impl From<SmallU<1>> for BinaryField1b
Source§fn from(val: SmallU<1>) -> BinaryField1b
fn from(val: SmallU<1>) -> BinaryField1b
Converts to this type from the input type.
Source§impl From<bool> for BinaryField1b
impl From<bool> for BinaryField1b
Source§fn from(value: bool) -> BinaryField1b
fn from(value: bool) -> BinaryField1b
Converts to this type from the input type.
Source§impl From<u8> for BinaryField1b
impl From<u8> for BinaryField1b
Source§fn from(val: u8) -> BinaryField1b
fn from(val: u8) -> BinaryField1b
Converts to this type from the input type.
Source§impl Hash for BinaryField1b
impl Hash for BinaryField1b
Source§impl InvertOrZero for BinaryField1b
impl InvertOrZero for BinaryField1b
Source§fn invert_or_zero(self) -> BinaryField1b
fn invert_or_zero(self) -> BinaryField1b
Returns the inverted value or zero in case when
self
is zeroSource§impl Mul<&BinaryField1b> for BinaryField1b
impl Mul<&BinaryField1b> for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: &BinaryField1b,
) -> <BinaryField1b as Mul<&BinaryField1b>>::Output
fn mul( self, rhs: &BinaryField1b, ) -> <BinaryField1b as Mul<&BinaryField1b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<AESTowerField128b> for BinaryField1b
impl Mul<AESTowerField128b> for BinaryField1b
Source§type Output = AESTowerField128b
type Output = AESTowerField128b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: AESTowerField128b,
) -> <BinaryField1b as Mul<AESTowerField128b>>::Output
fn mul( self, rhs: AESTowerField128b, ) -> <BinaryField1b as Mul<AESTowerField128b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<AESTowerField16b> for BinaryField1b
impl Mul<AESTowerField16b> for BinaryField1b
Source§type Output = AESTowerField16b
type Output = AESTowerField16b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: AESTowerField16b,
) -> <BinaryField1b as Mul<AESTowerField16b>>::Output
fn mul( self, rhs: AESTowerField16b, ) -> <BinaryField1b as Mul<AESTowerField16b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<AESTowerField32b> for BinaryField1b
impl Mul<AESTowerField32b> for BinaryField1b
Source§type Output = AESTowerField32b
type Output = AESTowerField32b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: AESTowerField32b,
) -> <BinaryField1b as Mul<AESTowerField32b>>::Output
fn mul( self, rhs: AESTowerField32b, ) -> <BinaryField1b as Mul<AESTowerField32b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<AESTowerField64b> for BinaryField1b
impl Mul<AESTowerField64b> for BinaryField1b
Source§type Output = AESTowerField64b
type Output = AESTowerField64b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: AESTowerField64b,
) -> <BinaryField1b as Mul<AESTowerField64b>>::Output
fn mul( self, rhs: AESTowerField64b, ) -> <BinaryField1b as Mul<AESTowerField64b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<AESTowerField8b> for BinaryField1b
impl Mul<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
type Output = AESTowerField8b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: AESTowerField8b,
) -> <BinaryField1b as Mul<AESTowerField8b>>::Output
fn mul( self, rhs: AESTowerField8b, ) -> <BinaryField1b as Mul<AESTowerField8b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField128b> for BinaryField1b
impl Mul<BinaryField128b> for BinaryField1b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField128b,
) -> <BinaryField1b as Mul<BinaryField128b>>::Output
fn mul( self, rhs: BinaryField128b, ) -> <BinaryField1b as Mul<BinaryField128b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField128bPolyval> for BinaryField1b
impl Mul<BinaryField128bPolyval> for BinaryField1b
Source§type Output = BinaryField128bPolyval
type Output = BinaryField128bPolyval
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField128bPolyval,
) -> <BinaryField1b as Mul<BinaryField128bPolyval>>::Output
fn mul( self, rhs: BinaryField128bPolyval, ) -> <BinaryField1b as Mul<BinaryField128bPolyval>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField16b> for BinaryField1b
impl Mul<BinaryField16b> for BinaryField1b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField16b,
) -> <BinaryField1b as Mul<BinaryField16b>>::Output
fn mul( self, rhs: BinaryField16b, ) -> <BinaryField1b as Mul<BinaryField16b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField1b> for BinaryField128b
impl Mul<BinaryField1b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField1b,
) -> <BinaryField128b as Mul<BinaryField1b>>::Output
fn mul( self, rhs: BinaryField1b, ) -> <BinaryField128b as Mul<BinaryField1b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField1b> for BinaryField16b
impl Mul<BinaryField1b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField1b,
) -> <BinaryField16b as Mul<BinaryField1b>>::Output
fn mul( self, rhs: BinaryField1b, ) -> <BinaryField16b as Mul<BinaryField1b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField1b> for BinaryField32b
impl Mul<BinaryField1b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField1b,
) -> <BinaryField32b as Mul<BinaryField1b>>::Output
fn mul( self, rhs: BinaryField1b, ) -> <BinaryField32b as Mul<BinaryField1b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField1b> for BinaryField64b
impl Mul<BinaryField1b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField1b,
) -> <BinaryField64b as Mul<BinaryField1b>>::Output
fn mul( self, rhs: BinaryField1b, ) -> <BinaryField64b as Mul<BinaryField1b>>::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 BinaryField1b
impl Mul<BinaryField2b> for BinaryField1b
Source§type Output = BinaryField2b
type Output = BinaryField2b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField2b,
) -> <BinaryField1b as Mul<BinaryField2b>>::Output
fn mul( self, rhs: BinaryField2b, ) -> <BinaryField1b as Mul<BinaryField2b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField32b> for BinaryField1b
impl Mul<BinaryField32b> for BinaryField1b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField32b,
) -> <BinaryField1b as Mul<BinaryField32b>>::Output
fn mul( self, rhs: BinaryField32b, ) -> <BinaryField1b as Mul<BinaryField32b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField4b> for BinaryField1b
impl Mul<BinaryField4b> for BinaryField1b
Source§type Output = BinaryField4b
type Output = BinaryField4b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField4b,
) -> <BinaryField1b as Mul<BinaryField4b>>::Output
fn mul( self, rhs: BinaryField4b, ) -> <BinaryField1b as Mul<BinaryField4b>>::Output
Performs the
*
operation. Read moreSource§impl Mul<BinaryField64b> for BinaryField1b
impl Mul<BinaryField64b> for BinaryField1b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: BinaryField64b,
) -> <BinaryField1b as Mul<BinaryField64b>>::Output
fn mul( self, rhs: BinaryField64b, ) -> <BinaryField1b as Mul<BinaryField64b>>::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 for BinaryField1b
impl Mul for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: BinaryField1b) -> <BinaryField1b as Mul>::Output
fn mul(self, rhs: BinaryField1b) -> <BinaryField1b as Mul>::Output
Performs the
*
operation. Read moreSource§impl MulAssign<&BinaryField1b> for BinaryField1b
impl MulAssign<&BinaryField1b> for BinaryField1b
Source§fn mul_assign(&mut self, rhs: &BinaryField1b)
fn mul_assign(&mut self, rhs: &BinaryField1b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField128b
impl MulAssign<BinaryField1b> for BinaryField128b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField16b
impl MulAssign<BinaryField1b> for BinaryField16b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField32b
impl MulAssign<BinaryField1b> for BinaryField32b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*=
operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField64b
impl MulAssign<BinaryField1b> for BinaryField64b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
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 for BinaryField1b
impl MulAssign for BinaryField1b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*=
operation. Read moreSource§impl Neg for BinaryField1b
impl Neg for BinaryField1b
Source§impl Ord for BinaryField1b
impl Ord for BinaryField1b
Source§fn cmp(&self, other: &BinaryField1b) -> Ordering
fn cmp(&self, other: &BinaryField1b) -> 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 BinaryField1b
impl PartialEq for BinaryField1b
Source§impl PartialOrd for BinaryField1b
impl PartialOrd for BinaryField1b
Source§impl<'a> Product<&'a BinaryField1b> for BinaryField1b
impl<'a> Product<&'a BinaryField1b> for BinaryField1b
Source§fn product<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = &'a BinaryField1b>,
fn product<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = &'a BinaryField1b>,
Takes an iterator and generates
Self
from the elements by multiplying
the items.Source§impl Product for BinaryField1b
impl Product for BinaryField1b
Source§fn product<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = BinaryField1b>,
fn product<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = BinaryField1b>,
Takes an iterator and generates
Self
from the elements by multiplying
the items.Source§impl SerializeBytes for BinaryField1b
impl SerializeBytes for BinaryField1b
fn serialize( &self, write_buf: impl BufMut, mode: SerializationMode, ) -> Result<(), SerializationError>
Source§impl Square for BinaryField1b
impl Square for BinaryField1b
Source§fn square(self) -> BinaryField1b
fn square(self) -> BinaryField1b
Returns the value multiplied by itself
Source§impl Sub<&BinaryField1b> for BinaryField1b
impl Sub<&BinaryField1b> for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: &BinaryField1b,
) -> <BinaryField1b as Sub<&BinaryField1b>>::Output
fn sub( self, rhs: &BinaryField1b, ) -> <BinaryField1b as Sub<&BinaryField1b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<AESTowerField128b> for BinaryField1b
impl Sub<AESTowerField128b> for BinaryField1b
Source§type Output = AESTowerField128b
type Output = AESTowerField128b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: AESTowerField128b,
) -> <BinaryField1b as Sub<AESTowerField128b>>::Output
fn sub( self, rhs: AESTowerField128b, ) -> <BinaryField1b as Sub<AESTowerField128b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<AESTowerField16b> for BinaryField1b
impl Sub<AESTowerField16b> for BinaryField1b
Source§type Output = AESTowerField16b
type Output = AESTowerField16b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: AESTowerField16b,
) -> <BinaryField1b as Sub<AESTowerField16b>>::Output
fn sub( self, rhs: AESTowerField16b, ) -> <BinaryField1b as Sub<AESTowerField16b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<AESTowerField32b> for BinaryField1b
impl Sub<AESTowerField32b> for BinaryField1b
Source§type Output = AESTowerField32b
type Output = AESTowerField32b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: AESTowerField32b,
) -> <BinaryField1b as Sub<AESTowerField32b>>::Output
fn sub( self, rhs: AESTowerField32b, ) -> <BinaryField1b as Sub<AESTowerField32b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<AESTowerField64b> for BinaryField1b
impl Sub<AESTowerField64b> for BinaryField1b
Source§type Output = AESTowerField64b
type Output = AESTowerField64b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: AESTowerField64b,
) -> <BinaryField1b as Sub<AESTowerField64b>>::Output
fn sub( self, rhs: AESTowerField64b, ) -> <BinaryField1b as Sub<AESTowerField64b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<AESTowerField8b> for BinaryField1b
impl Sub<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
type Output = AESTowerField8b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: AESTowerField8b,
) -> <BinaryField1b as Sub<AESTowerField8b>>::Output
fn sub( self, rhs: AESTowerField8b, ) -> <BinaryField1b as Sub<AESTowerField8b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField128b> for BinaryField1b
impl Sub<BinaryField128b> for BinaryField1b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField128b,
) -> <BinaryField1b as Sub<BinaryField128b>>::Output
fn sub( self, rhs: BinaryField128b, ) -> <BinaryField1b as Sub<BinaryField128b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField128bPolyval> for BinaryField1b
impl Sub<BinaryField128bPolyval> for BinaryField1b
Source§type Output = BinaryField128bPolyval
type Output = BinaryField128bPolyval
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField128bPolyval,
) -> <BinaryField1b as Sub<BinaryField128bPolyval>>::Output
fn sub( self, rhs: BinaryField128bPolyval, ) -> <BinaryField1b as Sub<BinaryField128bPolyval>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField16b> for BinaryField1b
impl Sub<BinaryField16b> for BinaryField1b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField16b,
) -> <BinaryField1b as Sub<BinaryField16b>>::Output
fn sub( self, rhs: BinaryField16b, ) -> <BinaryField1b as Sub<BinaryField16b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField1b> for BinaryField128b
impl Sub<BinaryField1b> for BinaryField128b
Source§type Output = BinaryField128b
type Output = BinaryField128b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField1b,
) -> <BinaryField128b as Sub<BinaryField1b>>::Output
fn sub( self, rhs: BinaryField1b, ) -> <BinaryField128b as Sub<BinaryField1b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField1b> for BinaryField16b
impl Sub<BinaryField1b> for BinaryField16b
Source§type Output = BinaryField16b
type Output = BinaryField16b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField1b,
) -> <BinaryField16b as Sub<BinaryField1b>>::Output
fn sub( self, rhs: BinaryField1b, ) -> <BinaryField16b as Sub<BinaryField1b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField1b> for BinaryField32b
impl Sub<BinaryField1b> for BinaryField32b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField1b,
) -> <BinaryField32b as Sub<BinaryField1b>>::Output
fn sub( self, rhs: BinaryField1b, ) -> <BinaryField32b as Sub<BinaryField1b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField1b> for BinaryField64b
impl Sub<BinaryField1b> for BinaryField64b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField1b,
) -> <BinaryField64b as Sub<BinaryField1b>>::Output
fn sub( self, rhs: BinaryField1b, ) -> <BinaryField64b as Sub<BinaryField1b>>::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 BinaryField1b
impl Sub<BinaryField2b> for BinaryField1b
Source§type Output = BinaryField2b
type Output = BinaryField2b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField2b,
) -> <BinaryField1b as Sub<BinaryField2b>>::Output
fn sub( self, rhs: BinaryField2b, ) -> <BinaryField1b as Sub<BinaryField2b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField32b> for BinaryField1b
impl Sub<BinaryField32b> for BinaryField1b
Source§type Output = BinaryField32b
type Output = BinaryField32b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField32b,
) -> <BinaryField1b as Sub<BinaryField32b>>::Output
fn sub( self, rhs: BinaryField32b, ) -> <BinaryField1b as Sub<BinaryField32b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField4b> for BinaryField1b
impl Sub<BinaryField4b> for BinaryField1b
Source§type Output = BinaryField4b
type Output = BinaryField4b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField4b,
) -> <BinaryField1b as Sub<BinaryField4b>>::Output
fn sub( self, rhs: BinaryField4b, ) -> <BinaryField1b as Sub<BinaryField4b>>::Output
Performs the
-
operation. Read moreSource§impl Sub<BinaryField64b> for BinaryField1b
impl Sub<BinaryField64b> for BinaryField1b
Source§type Output = BinaryField64b
type Output = BinaryField64b
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: BinaryField64b,
) -> <BinaryField1b as Sub<BinaryField64b>>::Output
fn sub( self, rhs: BinaryField64b, ) -> <BinaryField1b as Sub<BinaryField64b>>::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 for BinaryField1b
impl Sub for BinaryField1b
Source§type Output = BinaryField1b
type Output = BinaryField1b
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: BinaryField1b) -> <BinaryField1b as Sub>::Output
fn sub(self, rhs: BinaryField1b) -> <BinaryField1b as Sub>::Output
Performs the
-
operation. Read moreSource§impl SubAssign<&BinaryField1b> for BinaryField1b
impl SubAssign<&BinaryField1b> for BinaryField1b
Source§fn sub_assign(&mut self, rhs: &BinaryField1b)
fn sub_assign(&mut self, rhs: &BinaryField1b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField128b
impl SubAssign<BinaryField1b> for BinaryField128b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField16b
impl SubAssign<BinaryField1b> for BinaryField16b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField32b
impl SubAssign<BinaryField1b> for BinaryField32b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-=
operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField64b
impl SubAssign<BinaryField1b> for BinaryField64b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
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 for BinaryField1b
impl SubAssign for BinaryField1b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-=
operation. Read moreSource§impl<'a> Sum<&'a BinaryField1b> for BinaryField1b
impl<'a> Sum<&'a BinaryField1b> for BinaryField1b
Source§fn sum<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = &'a BinaryField1b>,
fn sum<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = &'a BinaryField1b>,
Takes an iterator and generates
Self
from the elements by “summing up”
the items.Source§impl Sum for BinaryField1b
impl Sum for BinaryField1b
Source§fn sum<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = BinaryField1b>,
fn sum<I>(iter: I) -> BinaryField1bwhere
I: Iterator<Item = BinaryField1b>,
Takes an iterator and generates
Self
from the elements by “summing up”
the items.Source§impl TowerField for BinaryField1b
impl TowerField for BinaryField1b
Source§type Canonical = BinaryField1b
type Canonical = BinaryField1b
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, _: usize) -> Result<BinaryField1b, Error>
fn mul_primitive(self, _: usize) -> Result<BinaryField1b, Error>
Multiplies a field element by the canonical primitive element of the extension $T_{\iota +
1} / T_{iota}$. Read more
Source§const TOWER_LEVEL: usize = _
const TOWER_LEVEL: usize = _
The level $\iota$ in the tower, where this field is isomorphic to $T_{\iota}$.
Source§impl TransparentWrapper<SmallU<1>> for BinaryField1b
impl TransparentWrapper<SmallU<1>> for BinaryField1b
§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<AESTowerField128b> for BinaryField1b
impl TryFrom<AESTowerField128b> for BinaryField1b
Source§fn try_from(
elem: AESTowerField128b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField128b>>::Error>
fn try_from( elem: AESTowerField128b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField128b>>::Error>
Performs the conversion.
Source§impl TryFrom<AESTowerField16b> for BinaryField1b
impl TryFrom<AESTowerField16b> for BinaryField1b
Source§fn try_from(
elem: AESTowerField16b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField16b>>::Error>
fn try_from( elem: AESTowerField16b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField16b>>::Error>
Performs the conversion.
Source§impl TryFrom<AESTowerField32b> for BinaryField1b
impl TryFrom<AESTowerField32b> for BinaryField1b
Source§fn try_from(
elem: AESTowerField32b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField32b>>::Error>
fn try_from( elem: AESTowerField32b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField32b>>::Error>
Performs the conversion.
Source§impl TryFrom<AESTowerField64b> for BinaryField1b
impl TryFrom<AESTowerField64b> for BinaryField1b
Source§fn try_from(
elem: AESTowerField64b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField64b>>::Error>
fn try_from( elem: AESTowerField64b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField64b>>::Error>
Performs the conversion.
Source§impl TryFrom<AESTowerField8b> for BinaryField1b
impl TryFrom<AESTowerField8b> for BinaryField1b
Source§fn try_from(
elem: AESTowerField8b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField8b>>::Error>
fn try_from( elem: AESTowerField8b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<AESTowerField8b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField128b> for BinaryField1b
impl TryFrom<BinaryField128b> for BinaryField1b
Source§fn try_from(
elem: BinaryField128b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField128b>>::Error>
fn try_from( elem: BinaryField128b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField128b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField16b> for BinaryField1b
impl TryFrom<BinaryField16b> for BinaryField1b
Source§fn try_from(
elem: BinaryField16b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField16b>>::Error>
fn try_from( elem: BinaryField16b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField16b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField2b> for BinaryField1b
impl TryFrom<BinaryField2b> for BinaryField1b
Source§fn try_from(
elem: BinaryField2b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField2b>>::Error>
fn try_from( elem: BinaryField2b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField2b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField32b> for BinaryField1b
impl TryFrom<BinaryField32b> for BinaryField1b
Source§fn try_from(
elem: BinaryField32b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField32b>>::Error>
fn try_from( elem: BinaryField32b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField32b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField4b> for BinaryField1b
impl TryFrom<BinaryField4b> for BinaryField1b
Source§fn try_from(
elem: BinaryField4b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField4b>>::Error>
fn try_from( elem: BinaryField4b, ) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField4b>>::Error>
Performs the conversion.
Source§impl TryFrom<BinaryField64b> for BinaryField1b
impl TryFrom<BinaryField64b> for BinaryField1b
Source§fn try_from(
elem: BinaryField64b,
) -> Result<BinaryField1b, <BinaryField1b as TryFrom<BinaryField64b>>::Error>
fn try_from( elem: BinaryField64b, ) -> Result<BinaryField1b, <BinaryField1b 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 BinaryField1b
impl WithUnderlier for BinaryField1b
Source§fn to_underlier(self) -> <BinaryField1b as WithUnderlier>::Underlier
fn to_underlier(self) -> <BinaryField1b as WithUnderlier>::Underlier
Convert value to underlier.
fn to_underlier_ref(&self) -> &<BinaryField1b as WithUnderlier>::Underlier
fn to_underlier_ref_mut( &mut self, ) -> &mut <BinaryField1b as WithUnderlier>::Underlier
fn to_underliers_ref( val: &[BinaryField1b], ) -> &[<BinaryField1b as WithUnderlier>::Underlier]
fn to_underliers_ref_mut( val: &mut [BinaryField1b], ) -> &mut [<BinaryField1b as WithUnderlier>::Underlier]
fn from_underlier( val: <BinaryField1b as WithUnderlier>::Underlier, ) -> BinaryField1b
fn from_underlier_ref( val: &<BinaryField1b as WithUnderlier>::Underlier, ) -> &BinaryField1b
fn from_underlier_ref_mut( val: &mut <BinaryField1b as WithUnderlier>::Underlier, ) -> &mut BinaryField1b
fn from_underliers_ref( val: &[<BinaryField1b as WithUnderlier>::Underlier], ) -> &[BinaryField1b]
fn from_underliers_ref_mut( val: &mut [<BinaryField1b as WithUnderlier>::Underlier], ) -> &mut [BinaryField1b]
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 BinaryField1b
impl Eq for BinaryField1b
impl StructuralPartialEq for BinaryField1b
Auto Trait Implementations§
impl Freeze for BinaryField1b
impl RefUnwindSafe for BinaryField1b
impl Send for BinaryField1b
impl Sync for BinaryField1b
impl Unpin for BinaryField1b
impl UnwindSafe for BinaryField1b
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<F> ArchOptimalByteSliced for F
impl<F> ArchOptimalByteSliced for F
type OptimalByteSliced = <ByteSlicedUnderlier<M128, 16> 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
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<PairwiseStrategy> for PT
impl<PT> TaggedInvertOrZero<PairwiseStrategy> for PT
fn invert_or_zero(self) -> PT
Source§impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
PT: PackedField,
impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
PT: PackedField,
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<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.