pub struct CubicExtField<F: Field> { /* private fields */ }
Implementations§
Source§impl<F: Field> CubicExtField<F>
impl<F: Field> CubicExtField<F>
Source§impl<F: Field> CubicExtField<F>where
Self: CubicExtFieldArith<Base = F>,
impl<F: Field> CubicExtField<F>where
Self: CubicExtFieldArith<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)
Trait Implementations§
Source§impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn add( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
+
operation. Read moreSource§impl<'b> Add<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> Add<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn add( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
+
operation. Read moreSource§impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Add<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'a> Add<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a> Add<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn add( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
+
operation. Read moreSource§impl<'a> Add<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Add<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a> Add<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Add<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl Add for CubicExtField<QuadExtField<Fp>>
impl Add for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
+
operator.Source§fn add(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn add( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
+
operation. Read moreSource§impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§fn add_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
fn add_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
Performs the
+=
operation. Read moreSource§impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn add_assign(&mut self, rhs: &'b Fq6)
fn add_assign(&mut self, rhs: &'b Fq6)
Performs the
+=
operation. Read moreSource§impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> AddAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn add_assign(&mut self, rhs: &'b Fq6)
fn add_assign(&mut self, rhs: &'b Fq6)
Performs the
+=
operation. Read moreSource§impl AddAssign for CubicExtField<QuadExtField<Fp>>
impl AddAssign for CubicExtField<QuadExtField<Fp>>
Source§fn add_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
fn add_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
Performs the
+=
operation. Read moreSource§impl<F: Clone + Field> Clone for CubicExtField<F>
impl<F: Clone + Field> Clone for CubicExtField<F>
Source§fn clone(&self) -> CubicExtField<F>
fn clone(&self) -> CubicExtField<F>
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<F: Field> ConditionallySelectable for CubicExtField<F>
impl<F: Field> ConditionallySelectable for CubicExtField<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)
Conditionally swap
self
and other
if choice == 1
; otherwise,
reassign both unto themselves. Read moreSource§impl<F: Field> ConstantTimeEq for CubicExtField<F>
impl<F: Field> ConstantTimeEq for CubicExtField<F>
Source§impl CubicExtFieldArith for CubicExtField<QuadExtField<Fp>>
impl CubicExtFieldArith for CubicExtField<QuadExtField<Fp>>
type Base = QuadExtField<Fp>
fn mul_assign( lhs: &mut CubicExtField<Self::Base>, rhs: &CubicExtField<Self::Base>, )
fn square_assign(el: &mut CubicExtField<Self::Base>)
Source§impl CubicSparseMul for CubicExtField<QuadExtField<Fp>>
impl CubicSparseMul for CubicExtField<QuadExtField<Fp>>
type Base = QuadExtField<Fp>
fn mul_by_1( lhs: &CubicExtField<Self::Base>, c1: &Self::Base, ) -> CubicExtField<Self::Base>
fn mul_by_01( lhs: &CubicExtField<Self::Base>, c0: &Self::Base, c1: &Self::Base, ) -> CubicExtField<Self::Base>
Source§impl<F: Default + Field> Default for CubicExtField<F>
impl<F: Default + Field> Default for CubicExtField<F>
Source§fn default() -> CubicExtField<F>
fn default() -> CubicExtField<F>
Returns the “default value” for a type. Read more
Source§impl ExtField for CubicExtField<QuadExtField<Fp>>
impl ExtField for CubicExtField<QuadExtField<Fp>>
const NON_RESIDUE: Self = _
fn frobenius_map(&mut self, power: usize)
fn mul_by_nonresidue( self: &CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Source§impl<F: ExtField> Field for CubicExtField<F>
impl<F: ExtField> Field for CubicExtField<F>
Source§fn random(rng: impl RngCore) -> Self
fn random(rng: impl RngCore) -> Self
Returns an element chosen uniformly at random using a user-provided RNG.
Source§fn sqrt(&self) -> CtOption<Self>
fn sqrt(&self) -> CtOption<Self>
Returns the square root of the field element, if it is
quadratic residue. Read more
Source§fn sqrt_ratio(_: &Self, _: &Self) -> (Choice, Self)
fn sqrt_ratio(_: &Self, _: &Self) -> (Choice, Self)
Computes: Read more
Source§fn invert(&self) -> CtOption<Self>
fn invert(&self) -> CtOption<Self>
Computes the multiplicative inverse of this element,
failing if the element is zero.
Source§fn is_zero_vartime(&self) -> bool
fn is_zero_vartime(&self) -> bool
Returns true iff this element is zero. Read more
Source§impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn mul( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
*
operation. Read moreSource§impl<'b> Mul<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> Mul<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn mul( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
*
operation. Read moreSource§impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Mul<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'a> Mul<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a> Mul<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn mul( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
*
operation. Read moreSource§impl<'a> Mul<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Mul<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a> Mul<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Mul<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl Mul for CubicExtField<QuadExtField<Fp>>
impl Mul for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
*
operator.Source§fn mul(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn mul( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
*
operation. Read moreSource§impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§fn mul_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
fn mul_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
Performs the
*=
operation. Read moreSource§impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn mul_assign(&mut self, rhs: &'b Fq6)
fn mul_assign(&mut self, rhs: &'b Fq6)
Performs the
*=
operation. Read moreSource§impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> MulAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn mul_assign(&mut self, rhs: &'b Fq6)
fn mul_assign(&mut self, rhs: &'b Fq6)
Performs the
*=
operation. Read moreSource§impl MulAssign for CubicExtField<QuadExtField<Fp>>
impl MulAssign for CubicExtField<QuadExtField<Fp>>
Source§fn mul_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
fn mul_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
Performs the
*=
operation. Read moreSource§impl<'a> Neg for &'a CubicExtField<QuadExtField<Fp>>
impl<'a> Neg for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn neg(self) -> CubicExtField<QuadExtField<Fp>>
fn neg(self) -> CubicExtField<QuadExtField<Fp>>
Performs the unary
-
operation. Read moreSource§impl Neg for CubicExtField<QuadExtField<Fp>>
impl Neg for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn neg(self) -> CubicExtField<QuadExtField<Fp>>
fn neg(self) -> CubicExtField<QuadExtField<Fp>>
Performs the unary
-
operation. Read moreSource§impl<T: Borrow<CubicExtField<QuadExtField<Fp>>>> Product<T> for CubicExtField<QuadExtField<Fp>>
impl<T: Borrow<CubicExtField<QuadExtField<Fp>>>> Product<T> for CubicExtField<QuadExtField<Fp>>
Source§impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn sub( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
-
operation. Read moreSource§impl<'b> Sub<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> Sub<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: &'b CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn sub( self, rhs: &'b CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
-
operation. Read moreSource§impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a, 'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> Sub<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§impl<'a> Sub<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
impl<'a> Sub<CubicExtField<QuadExtField<Fp>>> for &'a CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn sub( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
-
operation. Read moreSource§impl<'a> Sub<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Sub<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl<'a> Sub<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
impl<'a> Sub<CubicExtField<QuadExtField<Fq>>> for &'a Fq6
Source§impl Sub for CubicExtField<QuadExtField<Fp>>
impl Sub for CubicExtField<QuadExtField<Fp>>
Source§type Output = CubicExtField<QuadExtField<Fp>>
type Output = CubicExtField<QuadExtField<Fp>>
The resulting type after applying the
-
operator.Source§fn sub(
self,
rhs: CubicExtField<QuadExtField<Fp>>,
) -> CubicExtField<QuadExtField<Fp>>
fn sub( self, rhs: CubicExtField<QuadExtField<Fp>>, ) -> CubicExtField<QuadExtField<Fp>>
Performs the
-
operation. Read moreSource§impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fp>>> for CubicExtField<QuadExtField<Fp>>
Source§fn sub_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
fn sub_assign(&mut self, rhs: &'b CubicExtField<QuadExtField<Fp>>)
Performs the
-=
operation. Read moreSource§impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn sub_assign(&mut self, rhs: &'b Fq6)
fn sub_assign(&mut self, rhs: &'b Fq6)
Performs the
-=
operation. Read moreSource§impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
impl<'b> SubAssign<&'b CubicExtField<QuadExtField<Fq>>> for Fq6
Source§fn sub_assign(&mut self, rhs: &'b Fq6)
fn sub_assign(&mut self, rhs: &'b Fq6)
Performs the
-=
operation. Read moreSource§impl SubAssign for CubicExtField<QuadExtField<Fp>>
impl SubAssign for CubicExtField<QuadExtField<Fp>>
Source§fn sub_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
fn sub_assign(&mut self, rhs: CubicExtField<QuadExtField<Fp>>)
Performs the
-=
operation. Read moreSource§impl<T: Borrow<CubicExtField<QuadExtField<Fp>>>> Sum<T> for CubicExtField<QuadExtField<Fp>>
impl<T: Borrow<CubicExtField<QuadExtField<Fp>>>> Sum<T> for CubicExtField<QuadExtField<Fp>>
impl<F: Copy + Field> Copy for CubicExtField<F>
impl<F: Eq + Field> Eq for CubicExtField<F>
impl<F: Field> StructuralPartialEq for CubicExtField<F>
Auto Trait Implementations§
impl<F> Freeze for CubicExtField<F>where
F: Freeze,
impl<F> RefUnwindSafe for CubicExtField<F>where
F: RefUnwindSafe,
impl<F> Send for CubicExtField<F>
impl<F> Sync for CubicExtField<F>
impl<F> Unpin for CubicExtField<F>where
F: Unpin,
impl<F> UnwindSafe for CubicExtField<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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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>
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<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,
Pipes by value. This is generally the method you want to use. Read more
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,
Borrows
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,
Mutably borrows
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
Borrows
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
Mutably borrows
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
Borrows
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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.