pub struct QuadExtField<F: Field> { /* private fields */ }
Implementations§
Source§impl<F: Field> QuadExtField<F>
impl<F: Field> QuadExtField<F>
Source§impl<F: ExtField> QuadExtField<F>where
Self: QuadExtFieldArith<Base = F>,
impl<F: ExtField> QuadExtField<F>where
Self: QuadExtFieldArith<Base = F>,
pub fn mul(&self, rhs: &Self) -> Self
pub fn mul_assign(&mut self, rhs: &Self)
pub fn square(el: &Self) -> Self
pub fn square_assign(&mut self)
pub fn norm(&self) -> F
Source§impl QuadExtField<CubicExtField<QuadExtField<Fq>>>
impl QuadExtField<CubicExtField<QuadExtField<Fq>>>
pub fn cyclotomic_square(&mut self)
Source§impl QuadExtField<Fq>
impl QuadExtField<Fq>
Sourcepub fn from_bytes(bytes: &[u8; 96]) -> CtOption<Fq2>
pub fn from_bytes(bytes: &[u8; 96]) -> CtOption<Fq2>
Attempts to convert a little-endian byte representation of
a scalar into a $base
, failing if the input is not canonical.
Sourcepub fn to_bytes(&self) -> [u8; 96]
pub fn to_bytes(&self) -> [u8; 96]
Converts an element of $base
into a byte representation in
little-endian byte order.
Sourcepub fn lexicographically_largest(&self) -> Choice
pub fn lexicographically_largest(&self) -> Choice
Returns whether or not this element is strictly lexicographically larger than its negation.
Source§impl QuadExtField<CubicExtField<QuadExtField<Fq>>>
impl QuadExtField<CubicExtField<QuadExtField<Fq>>>
pub fn cyclotomic_square(&mut self)
Source§impl QuadExtField<Fq>
impl QuadExtField<Fq>
Sourcepub fn from_bytes(bytes: &[u8; 64]) -> CtOption<Fq2>
pub fn from_bytes(bytes: &[u8; 64]) -> CtOption<Fq2>
Attempts to convert a little-endian byte representation of
a scalar into a $base
, failing if the input is not canonical.
Sourcepub fn to_bytes(&self) -> [u8; 64]
pub fn to_bytes(&self) -> [u8; 64]
Converts an element of $base
into a byte representation in
little-endian byte order.
Sourcepub fn lexicographically_largest(&self) -> Choice
pub fn lexicographically_largest(&self) -> Choice
Returns whether or not this element is strictly lexicographically larger than its negation.
Source§impl QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl QuadExtField<CubicExtField<QuadExtField<Fp>>>
pub fn cyclotomic_square(&mut self)
Source§impl QuadExtField<Fp>
impl QuadExtField<Fp>
Sourcepub fn from_bytes(bytes: &[u8; 112]) -> CtOption<QuadExtField<Fp>>
pub fn from_bytes(bytes: &[u8; 112]) -> CtOption<QuadExtField<Fp>>
Attempts to convert a little-endian byte representation of
a scalar into a $base
, failing if the input is not canonical.
Sourcepub fn to_bytes(&self) -> [u8; 112]
pub fn to_bytes(&self) -> [u8; 112]
Converts an element of $base
into a byte representation in
little-endian byte order.
Sourcepub fn lexicographically_largest(&self) -> Choice
pub fn lexicographically_largest(&self) -> Choice
Returns whether or not this element is strictly lexicographically larger than its negation.
Trait Implementations§
Source§impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operator.Source§fn add(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn add( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operation. Read moreSource§impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operator.Source§fn add(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn add( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operation. Read moreSource§impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Add<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'a, 'b> Add<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a, 'b> Add<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
+
operator.Source§fn add(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn add(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
+
operation. Read moreSource§impl<'b> Add<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> Add<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
+
operator.Source§fn add(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn add(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
+
operation. Read moreSource§impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operator.Source§fn add(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn add( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operation. Read moreSource§impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Add<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
+
operator.Source§impl<'a> Add<QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a> Add<QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
+
operator.Source§fn add(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn add(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
+
operation. Read moreSource§impl Add for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl Add for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operator.Source§fn add(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn add( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
+
operation. Read moreSource§impl Add for QuadExtField<Fp>
impl Add for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
+
operator.Source§fn add(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn add(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
+
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn add_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn add_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
+=
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn add_assign(&mut self, rhs: &'b Fq12)
fn add_assign(&mut self, rhs: &'b Fq12)
+=
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> AddAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn add_assign(&mut self, rhs: &'b Fq12)
fn add_assign(&mut self, rhs: &'b Fq12)
+=
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> AddAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§fn add_assign(&mut self, rhs: &'b QuadExtField<Fp>)
fn add_assign(&mut self, rhs: &'b QuadExtField<Fp>)
+=
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> AddAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn add_assign(&mut self, rhs: &'b Fq2)
fn add_assign(&mut self, rhs: &'b Fq2)
+=
operation. Read moreSource§impl<'b> AddAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> AddAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn add_assign(&mut self, rhs: &'b Fq2)
fn add_assign(&mut self, rhs: &'b Fq2)
+=
operation. Read moreSource§impl AddAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl AddAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn add_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn add_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
+=
operation. Read moreSource§impl AddAssign for QuadExtField<Fp>
impl AddAssign for QuadExtField<Fp>
Source§fn add_assign(&mut self, rhs: QuadExtField<Fp>)
fn add_assign(&mut self, rhs: QuadExtField<Fp>)
+=
operation. Read moreSource§impl<F: Clone + Field> Clone for QuadExtField<F>
impl<F: Clone + Field> Clone for QuadExtField<F>
Source§fn clone(&self) -> QuadExtField<F>
fn clone(&self) -> QuadExtField<F>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<F: Field> ConditionallySelectable for QuadExtField<F>
impl<F: Field> ConditionallySelectable for QuadExtField<F>
Source§fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
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)
self
and other
if choice == 1
; otherwise,
reassign both unto themselves. Read moreSource§impl<F: Field> ConstantTimeEq for QuadExtField<F>
impl<F: Field> ConstantTimeEq for QuadExtField<F>
Source§impl<F: Default + Field> Default for QuadExtField<F>
impl<F: Default + Field> Default for QuadExtField<F>
Source§fn default() -> QuadExtField<F>
fn default() -> QuadExtField<F>
Source§impl<'de, F> Deserialize<'de> for QuadExtField<F>where
F: Deserialize<'de> + Field,
impl<'de, F> Deserialize<'de> for QuadExtField<F>where
F: Deserialize<'de> + Field,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl EndianRepr for QuadExtField<Fp>
impl EndianRepr for QuadExtField<Fp>
Source§impl ExtField for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl ExtField for QuadExtField<CubicExtField<QuadExtField<Fp>>>
const NON_RESIDUE: Self = _
fn frobenius_map(&mut self, power: usize)
fn mul_by_nonresidue(&self) -> Self
Source§impl ExtField for QuadExtField<Fp>
impl ExtField for QuadExtField<Fp>
const NON_RESIDUE: Self = _
fn frobenius_map(&mut self, power: usize)
fn mul_by_nonresidue(&self) -> Self
Source§impl<F: ExtField> Field for QuadExtField<F>
impl<F: ExtField> Field for QuadExtField<F>
Source§fn random(rng: impl RngCore) -> Self
fn random(rng: impl RngCore) -> Self
Source§fn sqrt(&self) -> CtOption<Self>
fn sqrt(&self) -> CtOption<Self>
Source§fn sqrt_ratio(_: &Self, _: &Self) -> (Choice, Self)
fn sqrt_ratio(_: &Self, _: &Self) -> (Choice, Self)
Source§fn invert(&self) -> CtOption<Self>
fn invert(&self) -> CtOption<Self>
Source§fn is_zero_vartime(&self) -> bool
fn is_zero_vartime(&self) -> bool
Source§impl Legendre for QuadExtField<Fp>
impl Legendre for QuadExtField<Fp>
Source§impl MillerLoopResult for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl MillerLoopResult for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn final_exponentiation(&self) -> Gt
fn final_exponentiation(&self) -> Gt
MillerLoopResult::Gt
, so that it can be compared with
other elements of Gt
.Source§impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operator.Source§fn mul(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn mul( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operation. Read moreSource§impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operator.Source§fn mul(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn mul( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operation. Read moreSource§impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Mul<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'a, 'b> Mul<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a, 'b> Mul<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
*
operator.Source§fn mul(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn mul(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
*
operation. Read moreSource§impl<'b> Mul<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> Mul<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
*
operator.Source§fn mul(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn mul(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
*
operation. Read moreSource§impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operator.Source§fn mul(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn mul( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operation. Read moreSource§impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Mul<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
*
operator.Source§impl<'a> Mul<QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a> Mul<QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
*
operator.Source§fn mul(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn mul(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
*
operation. Read moreSource§impl Mul for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl Mul for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operator.Source§fn mul(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn mul( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
*
operation. Read moreSource§impl Mul for QuadExtField<Fp>
impl Mul for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
*
operator.Source§fn mul(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn mul(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
*
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn mul_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn mul_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
*=
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn mul_assign(&mut self, rhs: &'b Fq12)
fn mul_assign(&mut self, rhs: &'b Fq12)
*=
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> MulAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn mul_assign(&mut self, rhs: &'b Fq12)
fn mul_assign(&mut self, rhs: &'b Fq12)
*=
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> MulAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§fn mul_assign(&mut self, rhs: &'b QuadExtField<Fp>)
fn mul_assign(&mut self, rhs: &'b QuadExtField<Fp>)
*=
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> MulAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn mul_assign(&mut self, rhs: &'b Fq2)
fn mul_assign(&mut self, rhs: &'b Fq2)
*=
operation. Read moreSource§impl<'b> MulAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> MulAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn mul_assign(&mut self, rhs: &'b Fq2)
fn mul_assign(&mut self, rhs: &'b Fq2)
*=
operation. Read moreSource§impl MulAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl MulAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn mul_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn mul_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
*=
operation. Read moreSource§impl MulAssign for QuadExtField<Fp>
impl MulAssign for QuadExtField<Fp>
Source§fn mul_assign(&mut self, rhs: QuadExtField<Fp>)
fn mul_assign(&mut self, rhs: QuadExtField<Fp>)
*=
operation. Read moreSource§impl<'a> Neg for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a> Neg for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn neg(self) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn neg(self) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl<'a> Neg for &'a QuadExtField<Fp>
impl<'a> Neg for &'a QuadExtField<Fp>
Source§impl Neg for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl Neg for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn neg(self) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn neg(self) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl Neg for QuadExtField<Fp>
impl Neg for QuadExtField<Fp>
Source§impl Ord for QuadExtField<Fp>
impl Ord for QuadExtField<Fp>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for QuadExtField<Fp>
impl PartialOrd for QuadExtField<Fp>
Source§impl PrimeField for QuadExtField<Fp>
impl PrimeField for QuadExtField<Fp>
Source§const MODULUS: &'static str = <Fp as PrimeField>::MODULUS
const MODULUS: &'static str = <Fp as PrimeField>::MODULUS
Source§const MULTIPLICATIVE_GENERATOR: Self = _
const MULTIPLICATIVE_GENERATOR: Self = _
modulus - 1
order. This element must also be
a quadratic nonresidue. Read moreSource§const CAPACITY: u32 = 446u32
const CAPACITY: u32 = 446u32
Source§const ROOT_OF_UNITY: Self = Fp2::ZERO
const ROOT_OF_UNITY: Self = Fp2::ZERO
2^s
root of unity. Read moreSource§const ROOT_OF_UNITY_INV: Self = Fp2::ZERO
const ROOT_OF_UNITY_INV: Self = Fp2::ZERO
Self::ROOT_OF_UNITY
.Source§type Repr = Repr<{ $base::SIZE * 2 }>
type Repr = Repr<{ $base::SIZE * 2 }>
Source§fn from_repr(repr: Self::Repr) -> CtOption<Self>
fn from_repr(repr: Self::Repr) -> CtOption<Self>
Source§fn to_repr(&self) -> Self::Repr
fn to_repr(&self) -> Self::Repr
Source§fn from_str_vartime(s: &str) -> Option<Self>
fn from_str_vartime(s: &str) -> Option<Self>
Source§impl<T: Borrow<QuadExtField<CubicExtField<QuadExtField<Fp>>>>> Product<T> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<T: Borrow<QuadExtField<CubicExtField<QuadExtField<Fp>>>>> Product<T> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§impl<T: Borrow<QuadExtField<Fp>>> Product<T> for QuadExtField<Fp>
impl<T: Borrow<QuadExtField<Fp>>> Product<T> for QuadExtField<Fp>
Source§impl QuadExtFieldArith for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl QuadExtFieldArith for QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Base = CubicExtField<QuadExtField<Fp>>
const SQRT: SQRT<Self::Base> = SQRT::Unimplemented
fn mul_assign( lhs: &mut QuadExtField<Self::Base>, rhs: &QuadExtField<Self::Base>, )
fn square_assign(el: &mut QuadExtField<Self::Base>)
Source§impl QuadExtFieldArith for QuadExtField<Fp>
impl QuadExtFieldArith for QuadExtField<Fp>
const SQRT: SQRT<Fp> = _
type Base = Fp
fn mul_assign( lhs: &mut QuadExtField<Self::Base>, rhs: &QuadExtField<Self::Base>, )
fn square_assign(el: &mut QuadExtField<Self::Base>)
Source§impl QuadSparseMul for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl QuadSparseMul for QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Base = QuadExtField<Fp>
fn mul_by_014( lhs: &mut QuadExtField<CubicExtField<Self::Base>>, c0: &Self::Base, c1: &Self::Base, c4: &Self::Base, )
fn mul_by_034( lhs: &mut QuadExtField<CubicExtField<Self::Base>>, c0: &Self::Base, c3: &Self::Base, c4: &Self::Base, )
Source§impl SerdeObject for QuadExtField<Fp>
impl SerdeObject for QuadExtField<Fp>
Source§fn from_raw_bytes_unchecked(bytes: &[u8]) -> Self
fn from_raw_bytes_unchecked(bytes: &[u8]) -> Self
fn from_raw_bytes(bytes: &[u8]) -> Option<Self>
fn to_raw_bytes(&self) -> Vec<u8>
Source§fn read_raw_unchecked<R: Read>(reader: &mut R) -> Self
fn read_raw_unchecked<R: Read>(reader: &mut R) -> Self
fn read_raw<R: Read>(reader: &mut R) -> Result<Self>
fn write_raw<W: Write>(&self, writer: &mut W) -> Result<()>
Source§impl<F> Serialize for QuadExtField<F>
impl<F> Serialize for QuadExtField<F>
Source§impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn sub(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn sub( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn sub(
self,
rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn sub( self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a, 'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> Sub<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'a, 'b> Sub<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a, 'b> Sub<&'b QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
-
operator.Source§fn sub(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn sub(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
-
operation. Read moreSource§impl<'b> Sub<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> Sub<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
-
operator.Source§fn sub(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
fn sub(self, rhs: &'b QuadExtField<Fp>) -> QuadExtField<Fp>
-
operation. Read moreSource§impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fp>>>> for &'a QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn sub(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn sub( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
impl<'a> Sub<QuadExtField<CubicExtField<QuadExtField<Fq>>>> for &'a Fq12
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fq>>>
-
operator.Source§impl<'a> Sub<QuadExtField<Fp>> for &'a QuadExtField<Fp>
impl<'a> Sub<QuadExtField<Fp>> for &'a QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
-
operator.Source§fn sub(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn sub(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
-
operation. Read moreSource§impl Sub for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl Sub for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
type Output = QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operator.Source§fn sub(
self,
rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>,
) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
fn sub( self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>, ) -> QuadExtField<CubicExtField<QuadExtField<Fp>>>
-
operation. Read moreSource§impl Sub for QuadExtField<Fp>
impl Sub for QuadExtField<Fp>
Source§type Output = QuadExtField<Fp>
type Output = QuadExtField<Fp>
-
operator.Source§fn sub(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
fn sub(self, rhs: QuadExtField<Fp>) -> QuadExtField<Fp>
-
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fp>>>> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn sub_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn sub_assign(&mut self, rhs: &'b QuadExtField<CubicExtField<QuadExtField<Fp>>>)
-=
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn sub_assign(&mut self, rhs: &'b Fq12)
fn sub_assign(&mut self, rhs: &'b Fq12)
-=
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
impl<'b> SubAssign<&'b QuadExtField<CubicExtField<QuadExtField<Fq>>>> for Fq12
Source§fn sub_assign(&mut self, rhs: &'b Fq12)
fn sub_assign(&mut self, rhs: &'b Fq12)
-=
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
impl<'b> SubAssign<&'b QuadExtField<Fp>> for QuadExtField<Fp>
Source§fn sub_assign(&mut self, rhs: &'b QuadExtField<Fp>)
fn sub_assign(&mut self, rhs: &'b QuadExtField<Fp>)
-=
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> SubAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn sub_assign(&mut self, rhs: &'b Fq2)
fn sub_assign(&mut self, rhs: &'b Fq2)
-=
operation. Read moreSource§impl<'b> SubAssign<&'b QuadExtField<Fq>> for Fq2
impl<'b> SubAssign<&'b QuadExtField<Fq>> for Fq2
Source§fn sub_assign(&mut self, rhs: &'b Fq2)
fn sub_assign(&mut self, rhs: &'b Fq2)
-=
operation. Read moreSource§impl SubAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl SubAssign for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§fn sub_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
fn sub_assign(&mut self, rhs: QuadExtField<CubicExtField<QuadExtField<Fp>>>)
-=
operation. Read moreSource§impl SubAssign for QuadExtField<Fp>
impl SubAssign for QuadExtField<Fp>
Source§fn sub_assign(&mut self, rhs: QuadExtField<Fp>)
fn sub_assign(&mut self, rhs: QuadExtField<Fp>)
-=
operation. Read moreSource§impl<T: Borrow<QuadExtField<CubicExtField<QuadExtField<Fp>>>>> Sum<T> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
impl<T: Borrow<QuadExtField<CubicExtField<QuadExtField<Fp>>>>> Sum<T> for QuadExtField<CubicExtField<QuadExtField<Fp>>>
Source§impl<T: Borrow<QuadExtField<Fp>>> Sum<T> for QuadExtField<Fp>
impl<T: Borrow<QuadExtField<Fp>>> Sum<T> for QuadExtField<Fp>
Source§impl WithSmallOrderMulGroup<3> for QuadExtField<Fp>
impl WithSmallOrderMulGroup<3> for QuadExtField<Fp>
impl<F: Copy + Field> Copy for QuadExtField<F>
impl<F: Eq + Field> Eq for QuadExtField<F>
impl<F: Field> StructuralPartialEq for QuadExtField<F>
Auto Trait Implementations§
impl<F> Freeze for QuadExtField<F>where
F: Freeze,
impl<F> RefUnwindSafe for QuadExtField<F>where
F: RefUnwindSafe,
impl<F> Send for QuadExtField<F>
impl<F> Sync for QuadExtField<F>
impl<F> Unpin for QuadExtField<F>where
F: Unpin,
impl<F> UnwindSafe for QuadExtField<F>where
F: UnwindSafe,
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Source§impl<T> ConditionallyNegatable for T
impl<T> ConditionallyNegatable for T
Source§fn conditional_negate(&mut self, choice: Choice)
fn conditional_negate(&mut self, choice: Choice)
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.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>
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>
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<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.