pub struct IntegralFamily { /* private fields */ }Expand description
An ordered propagator family in ordinary Spenso scalar-product notation.
Denominators are inverse propagators, for example (k+p)^2-m^2, expanded
using Kinematics::scalar_product. Linear (eikonal) denominators are also
accepted. The external momentum list must be an independent basis; eliminate
dependent external momenta before constructing a family.
The family tracks algebraic completeness and verifies affine loop-momentum
maps. Parametric scaling certificates detect scaleless sectors in dimensional
regularization. Integration prescriptions and IBP solutions require additional
information beyond this algebraic representation. Coefficients are exact
rational functions over the native Gaussian-rational field, with i^2 = -1.
Algebraic coefficient support does not authorize complex contour changes.
Implementations§
Source§impl IntegralFamily
impl IntegralFamily
Sourcepub fn from_diagram(
diagram: &FeynmanDiagram,
kinematics: &Kinematics,
independent_dot_products: &[Atom],
) -> Result<Self, DiagramError>
pub fn from_diagram( diagram: &FeynmanDiagram, kinematics: &Kinematics, independent_dot_products: &[Atom], ) -> Result<Self, DiagramError>
Complete the diagram’s internal propagators with auxiliary scalar products.
Propagators retain their edge order and stored momentum routing, as in
FeynmanDiagram::integral_family. Preferred independent dot products
are tried in order; redundant entries are skipped and automatic scalar
products fill any remaining directions. Pass an empty slice to choose
the completion automatically. Dependent propagators must be extracted
and partial-fractioned separately before completing their families.
Source§impl IntegralFamily
impl IntegralFamily
Sourcepub fn mapping_to(
&self,
target: &Self,
loop_images: &[Atom],
) -> Result<Option<IntegralMapping>, IntegralFamilyError>
pub fn mapping_to( &self, target: &Self, loop_images: &[Atom], ) -> Result<Option<IntegralMapping>, IntegralFamilyError>
Verify explicit source-loop images in the target momentum coordinates.
Returns None if the Jacobian determinant is not exactly +1 or -1, or
coefficients cannot be proven real, or a source denominator has no
distinct equal target denominator. External
names and kinematics must agree. Target families may contain additional
propagators, enabling subtopology embeddings.
Sourcepub fn find_mapping(
&self,
target: &Self,
max_candidates: usize,
) -> Result<Option<IntegralMapping>, IntegralFamilyError>
pub fn find_mapping( &self, target: &Self, max_candidates: usize, ) -> Result<Option<IntegralMapping>, IntegralFamilyError>
Search exact affine loop shifts using independent quadratic propagators.
This includes loop permutations, reversals, mixtures and external shifts.
Candidates are derived from propagator quadratic forms, then verified by
Self::mapping_to. Eikonal and auxiliary propagators participate in
verification but cannot supply the quadratic search basis. This is not a
parametric-polynomial equivalence test for identities without a loop shift.
Sourcepub fn quadratic_denominator(
&self,
index: usize,
) -> Result<Option<QuadraticMomentum>, IntegralFamilyError>
pub fn quadratic_denominator( &self, index: usize, ) -> Result<Option<QuadraticMomentum>, IntegralFamilyError>
Decompose one ordered inverse denominator as a squared momentum plus a remainder.
The normalization and external momentum shifts are retained exactly.
Returns None for linear denominators or quadratic forms that are not
the square of a single momentum. An out-of-range index is an error.
This is the same decomposition used by the affine momentum-map search.
Source§impl IntegralFamily
impl IntegralFamily
Sourcepub fn find_mappings(
families: &[Self],
max_candidates: usize,
) -> Result<Vec<(usize, IntegralMapping)>, IntegralFamilyError>
pub fn find_mappings( families: &[Self], max_candidates: usize, ) -> Result<Vec<(usize, IntegralMapping)>, IntegralFamilyError>
Group families using verified affine loop-momentum maps.
Returns one (representative_index, mapping) per input, in input order.
Indices refer to the original list; representatives map to themselves.
The first compatible representative is retained, so there are no chains.
Symanzik incidence graphs are canonized once per family to limit the
shift searches. Polynomial equivalence alone never merges families:
Self::find_mapping must verify every denominator and the Jacobian.
All families must have compatible external kinematics and nonsingular
quadratic forms. Search limitations and candidate-budget exhaustion are
errors, not proofs of inequivalence. max_candidates applies per pair.
Different propagator counts remain separate; subtopology embeddings,
external-momentum exchanges and scalelessness are separate operations.
Sourcepub fn scaleless_transverse_direction(
&self,
) -> Result<Option<Vec<Atom>>, IntegralFamilyError>
pub fn scaleless_transverse_direction( &self, ) -> Result<Option<Vec<Atom>>, IntegralFamilyError>
Find a real loop direction with an unconstrained transverse integral.
The returned nonzero vector w is in loop-momentum order and satisfies
A_a w = 0 for every denominator’s quadratic loop matrix A_a.
Thus k_i -> k_i + w_i r_perp leaves all denominators unchanged for
any vector orthogonal to the external span. Its unrestricted polynomial
integral is scaleless in dimensional regularization, even with masses
and eikonal terms in the remaining coordinates.
Requires a nonsingular external Gram matrix and a nonempty transverse
space. Symbolic dimension is interpreted generically; a concrete
dimension must exceed the number of external basis vectors. None
means no certificate was found, not that the integral is nonzero.
Use Self::sector first to exclude numerator-only propagators.
This verifies a common real null direction, not merely det(A)=0.
Sourcepub fn scaleless_scaling(
&self,
parameters: &[Atom],
) -> Result<Option<Vec<Atom>>, IntegralFamilyError>
pub fn scaleless_scaling( &self, parameters: &[Atom], ) -> Result<Option<Vec<Atom>>, IntegralFamilyError>
Find a parametric scaling certificate for a scaleless sector.
For G = U + F, solve sum_i w_i*x_i*dG/dx_i = G over constant
weights using Symbolica. A solution proves the sector scaleless in
dimensional regularization at generic dimension. None means this
criterion did not establish scalelessness; it is not a nonzero-integral
assertion. The certificate uses the supplied parameter order.
Every family denominator is treated as present. Use Self::sector
first to exclude zero- and negative-power entries. This criterion
requires a nonsingular quadratic form even though Self::symanzik
can return the algebraic polynomials for singular forms.
Sourcepub fn parametric_mapping(
&self,
target: &Self,
parameters: &[Atom],
) -> Result<Option<PropagatorMapping>, IntegralFamilyError>
pub fn parametric_mapping( &self, target: &Self, parameters: &[Atom], ) -> Result<Option<PropagatorMapping>, IntegralFamilyError>
Find a parameter permutation identifying both Symanzik polynomials.
Parameters are distinct new symbols or calls, one per source propagator. Both families must have the same propagator count and external kinematics. Symbolica canonizes the polynomial incidence graphs, preserving U/F, exact coefficients and monomial exponents. This detects polynomial equivalences even when no affine loop-momentum map is available.
This is an algebraic parameter map, not a contour or prescription check. There is no implied tensor-numerator or external-momentum substitution. Singular quadratic forms are rejected because their degenerate U/F polynomials can discard physical masses and external invariants.
Sourcepub fn symanzik(
&self,
parameters: &[Atom],
) -> Result<(Atom, Atom), IntegralFamilyError>
pub fn symanzik( &self, parameters: &[Atom], ) -> Result<(Atom, Atom), IntegralFamilyError>
Compute the Symanzik polynomials (U, F) in propagator order.
For sum_i x_i D_i = k.M.k + 2 k.Q + J, the convention is
U = det(M) and F = Q.adj(M).Q - U*J. Thus a Minkowski
denominator k^2-m^2 gives (x, m^2*x^2). No integration measure,
propagator prescription or powers are inferred. Parameters must be
distinct symbols or calls absent from the family expressions.
Symbolica evaluates the determinant and cofactors without requiring an inverse. Linear eikonal denominators and singular quadratic forms are accepted. A singular result is algebraic data, not a valid Gaussian integration formula or a scalelessness certificate.
Source§impl IntegralFamily
impl IntegralFamily
Sourcepub fn partial_fraction(
&self,
powers: &[i32],
max_states: usize,
) -> Result<Vec<(Atom, Vec<i32>)>, IntegralFamilyError>
pub fn partial_fraction( &self, powers: &[i32], max_states: usize, ) -> Result<Vec<(Atom, Vec<i32>)>, IntegralFamilyError>
Decompose a product into terms with independent positive-power propagators.
Each returned pair contains a coefficient and signed propagator powers in the original family order. Negative powers remain numerator factors. The identity is algebraic: no loop shifts or scaleless-term removal are performed. Generic nonzero external invariants may appear in coefficients; specialize kinematics before constructing the family for degenerate cases.
max_states bounds processed exponent vectors, including intermediate
states. Exceeding the budget returns an error rather than a partial result.
Active Symbolica resource budgets are checked between states and while
searching for denominator relations.
§Errors
Returns an error for invalid powers or denominators, power overflow, or an exhausted state or Symbolica resource budget.
Source§impl IntegralFamily
impl IntegralFamily
Sourcepub fn new(
loop_momenta: Vec<Atom>,
external_momenta: Vec<Atom>,
denominators: Vec<Atom>,
kinematics: &Kinematics,
) -> Result<Self, IntegralFamilyError>
pub fn new( loop_momenta: Vec<Atom>, external_momenta: Vec<Atom>, denominators: Vec<Atom>, kinematics: &Kinematics, ) -> Result<Self, IntegralFamilyError>
Construct a family and compute its rank over the external invariants.
Sourcepub fn loop_momenta(&self) -> &[Atom]
pub fn loop_momenta(&self) -> &[Atom]
Integrated momentum names, in their original order.
Sourcepub fn kinematics(&self) -> &Kinematics
pub fn kinematics(&self) -> &Kinematics
Scoped kinematics, including the declared family momentum names.
Sourcepub fn external_momenta(&self) -> &[Atom]
pub fn external_momenta(&self) -> &[Atom]
Independent external momentum names, in their original order.
Sourcepub fn scalar_products(&self) -> &[Atom]
pub fn scalar_products(&self) -> &[Atom]
Loop-loop and loop-external products spanning the numerator space.
Sourcepub fn denominators(&self) -> &[Atom]
pub fn denominators(&self) -> &[Atom]
Ordered inverse propagators, including any completion terms.
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Whether the inverse propagators span every loop scalar product.
Sourcepub fn is_independent(&self) -> bool
pub fn is_independent(&self) -> bool
Whether no denominator can be eliminated by an affine relation.
Sourcepub fn sector(&self, powers: &[i32]) -> Result<Self, IntegralFamilyError>
pub fn sector(&self, powers: &[i32]) -> Result<Self, IntegralFamilyError>
Retain the positive-power propagators of an integral’s sector.
Zero and negative powers are omitted; loop variables and external kinematics are retained. This describes sector support, not an algebraic removal of numerator factors from the original integrand.
Sourcepub fn complete(&self, candidates: &[Atom]) -> Result<Self, IntegralFamilyError>
pub fn complete(&self, candidates: &[Atom]) -> Result<Self, IntegralFamilyError>
Append independent candidates, then scalar products, to form a basis.
Original propagators retain their positions. Added entries are auxiliary inverse propagators, whose nonpositive powers represent numerator factors. A dependent family must be partial-fractioned first. Candidates are affine inverse propagators in this family’s momenta, tried in order after applying its kinematics. Redundant candidates are skipped; bare scalar products fill any directions still missing.
Sourcepub fn scalar_product_rules(
&self,
labels: &[Atom],
) -> Result<BTreeMap<Atom, Atom>, IntegralFamilyError>
pub fn scalar_product_rules( &self, labels: &[Atom], ) -> Result<BTreeMap<Atom, Atom>, IntegralFamilyError>
Solve every loop scalar product in terms of labeled inverse propagators.
Labels are ordinary Symbolica symbols or calls, such as d1 or D(1).
The family must be independent and complete. The returned substitutions
can also be applied with ordinary Symbolica operations.
Sourcepub fn rewrite_numerator(
&self,
numerator: &Atom,
labels: &[Atom],
) -> Result<Atom, IntegralFamilyError>
pub fn rewrite_numerator( &self, numerator: &Atom, labels: &[Atom], ) -> Result<Atom, IntegralFamilyError>
Rewrite a numerator into inverse-propagator variables without integration.
Trait Implementations§
Source§impl Clone for IntegralFamily
impl Clone for IntegralFamily
Source§fn clone(&self) -> IntegralFamily
fn clone(&self) -> IntegralFamily
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for IntegralFamily
impl RefUnwindSafe for IntegralFamily
impl Send for IntegralFamily
impl Sync for IntegralFamily
impl Unpin for IntegralFamily
impl UnsafeUnpin for IntegralFamily
impl UnwindSafe for IntegralFamily
Blanket Implementations§
§impl<T> AtomComponentOptimizable<()> for T
impl<T> AtomComponentOptimizable<()> for T
fn optimize_atom_components(self) -> T
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§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.§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.§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.§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.§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.§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.§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.§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.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§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>
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> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§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 more§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 more§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
§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
§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.§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.§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.§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Source§impl<T> StrictAs for T
impl<T> StrictAs for T
Source§fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
Source§impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
Source§fn strict_cast_from(src: Src) -> Dst
fn strict_cast_from(src: Src) -> Dst
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§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.§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.§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.§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.§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.§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.§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.