pub struct WrappedRistretto(pub RistrettoPoint);Expand description
Wraps a ristretto25519 point
Tuple Fields§
§0: RistrettoPointTrait Implementations§
Source§impl<'a, 'b> Add<&'b WrappedRistretto> for &'a WrappedRistretto
impl<'a, 'b> Add<&'b WrappedRistretto> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: &'b WrappedRistretto,
) -> <&'a WrappedRistretto as Add<&'b WrappedRistretto>>::Output
fn add( self, rhs: &'b WrappedRistretto, ) -> <&'a WrappedRistretto as Add<&'b WrappedRistretto>>::Output
Performs the
+ operation. Read moreSource§impl<'b> Add<&'b WrappedRistretto> for WrappedRistretto
impl<'b> Add<&'b WrappedRistretto> for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: &'b WrappedRistretto,
) -> <WrappedRistretto as Add<&'b WrappedRistretto>>::Output
fn add( self, rhs: &'b WrappedRistretto, ) -> <WrappedRistretto as Add<&'b WrappedRistretto>>::Output
Performs the
+ operation. Read moreSource§impl<'a> Add<WrappedRistretto> for &'a WrappedRistretto
impl<'a> Add<WrappedRistretto> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: WrappedRistretto,
) -> <&'a WrappedRistretto as Add<WrappedRistretto>>::Output
fn add( self, rhs: WrappedRistretto, ) -> <&'a WrappedRistretto as Add<WrappedRistretto>>::Output
Performs the
+ operation. Read moreSource§impl Add for WrappedRistretto
impl Add for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
+ operator.Source§fn add(self, rhs: WrappedRistretto) -> <WrappedRistretto as Add>::Output
fn add(self, rhs: WrappedRistretto) -> <WrappedRistretto as Add>::Output
Performs the
+ operation. Read moreSource§impl<'b> AddAssign<&'b WrappedRistretto> for WrappedRistretto
impl<'b> AddAssign<&'b WrappedRistretto> for WrappedRistretto
Source§fn add_assign(&mut self, rhs: &'b WrappedRistretto)
fn add_assign(&mut self, rhs: &'b WrappedRistretto)
Performs the
+= operation. Read moreSource§impl AddAssign for WrappedRistretto
impl AddAssign for WrappedRistretto
Source§fn add_assign(&mut self, rhs: WrappedRistretto)
fn add_assign(&mut self, rhs: WrappedRistretto)
Performs the
+= operation. Read moreSource§impl Clone for WrappedRistretto
impl Clone for WrappedRistretto
Source§fn clone(&self) -> WrappedRistretto
fn clone(&self) -> WrappedRistretto
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConditionallySelectable for WrappedRistretto
impl ConditionallySelectable for WrappedRistretto
Source§fn conditional_select(
a: &WrappedRistretto,
b: &WrappedRistretto,
choice: Choice,
) -> WrappedRistretto
fn conditional_select( a: &WrappedRistretto, b: &WrappedRistretto, choice: Choice, ) -> WrappedRistretto
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 WrappedRistretto
impl ConstantTimeEq for WrappedRistretto
Source§impl Debug for WrappedRistretto
impl Debug for WrappedRistretto
Source§impl Default for WrappedRistretto
impl Default for WrappedRistretto
Source§fn default() -> WrappedRistretto
fn default() -> WrappedRistretto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WrappedRistretto
Available on crate feature serde only.
impl<'de> Deserialize<'de> for WrappedRistretto
Available on crate feature
serde only.Source§fn deserialize<D>(
deserializer: D,
) -> Result<WrappedRistretto, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WrappedRistretto, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WrappedRistretto
impl Display for WrappedRistretto
Source§impl From<RistrettoPoint> for WrappedRistretto
impl From<RistrettoPoint> for WrappedRistretto
Source§fn from(p: RistrettoPoint) -> WrappedRistretto
fn from(p: RistrettoPoint) -> WrappedRistretto
Converts to this type from the input type.
Source§impl From<WrappedRistretto> for WrappedEdwards
impl From<WrappedRistretto> for WrappedEdwards
Source§fn from(p: WrappedRistretto) -> WrappedEdwards
fn from(p: WrappedRistretto) -> WrappedEdwards
Converts to this type from the input type.
Source§impl Group for WrappedRistretto
impl Group for WrappedRistretto
Source§type Scalar = WrappedScalar
type Scalar = WrappedScalar
Scalars modulo the order of this group’s scalar field.
Source§fn random(rng: impl RngCore) -> WrappedRistretto
fn random(rng: impl RngCore) -> WrappedRistretto
Returns an element chosen uniformly at random from the non-identity elements of
this group. Read more
Source§fn identity() -> WrappedRistretto
fn identity() -> WrappedRistretto
Returns the additive identity, also known as the “neutral element”.
Source§fn generator() -> WrappedRistretto
fn generator() -> WrappedRistretto
Returns a fixed generator of the prime-order subgroup.
Source§fn is_identity(&self) -> Choice
fn is_identity(&self) -> Choice
Determines if this point is the identity.
Source§fn double(&self) -> WrappedRistretto
fn double(&self) -> WrappedRistretto
Doubles this element.
Source§impl GroupEncoding for WrappedRistretto
impl GroupEncoding for WrappedRistretto
Source§fn from_bytes(
bytes: &<WrappedRistretto as GroupEncoding>::Repr,
) -> CtOption<WrappedRistretto>
fn from_bytes( bytes: &<WrappedRistretto as GroupEncoding>::Repr, ) -> CtOption<WrappedRistretto>
Attempts to deserialize a group element from its encoding.
Source§fn from_bytes_unchecked(
bytes: &<WrappedRistretto as GroupEncoding>::Repr,
) -> CtOption<WrappedRistretto>
fn from_bytes_unchecked( bytes: &<WrappedRistretto as GroupEncoding>::Repr, ) -> CtOption<WrappedRistretto>
Attempts to deserialize a group element, not checking if the element is valid. Read more
Source§fn to_bytes(&self) -> <WrappedRistretto as GroupEncoding>::Repr
fn to_bytes(&self) -> <WrappedRistretto as GroupEncoding>::Repr
Converts this element into its byte encoding. This may or may not support
encoding the identity.
Source§impl LowerHex for WrappedRistretto
impl LowerHex for WrappedRistretto
Source§impl<'a, 'b> Mul<&'b WrappedScalar> for &'a WrappedRistretto
impl<'a, 'b> Mul<&'b WrappedScalar> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: &'b WrappedScalar,
) -> <&'a WrappedRistretto as Mul<&'b WrappedScalar>>::Output
fn mul( self, rhs: &'b WrappedScalar, ) -> <&'a WrappedRistretto as Mul<&'b WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'b> Mul<&'b WrappedScalar> for WrappedRistretto
impl<'b> Mul<&'b WrappedScalar> for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: &'b WrappedScalar,
) -> <WrappedRistretto as Mul<&'b WrappedScalar>>::Output
fn mul( self, rhs: &'b WrappedScalar, ) -> <WrappedRistretto as Mul<&'b WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'a> Mul<WrappedScalar> for &'a WrappedRistretto
impl<'a> Mul<WrappedScalar> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: WrappedScalar,
) -> <&'a WrappedRistretto as Mul<WrappedScalar>>::Output
fn mul( self, rhs: WrappedScalar, ) -> <&'a WrappedRistretto as Mul<WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl Mul<WrappedScalar> for WrappedRistretto
impl Mul<WrappedScalar> for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: WrappedScalar,
) -> <WrappedRistretto as Mul<WrappedScalar>>::Output
fn mul( self, rhs: WrappedScalar, ) -> <WrappedRistretto as Mul<WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'b> MulAssign<&'b WrappedScalar> for WrappedRistretto
impl<'b> MulAssign<&'b WrappedScalar> for WrappedRistretto
Source§fn mul_assign(&mut self, rhs: &'b WrappedScalar)
fn mul_assign(&mut self, rhs: &'b WrappedScalar)
Performs the
*= operation. Read moreSource§impl MulAssign<WrappedScalar> for WrappedRistretto
impl MulAssign<WrappedScalar> for WrappedRistretto
Source§fn mul_assign(&mut self, rhs: WrappedScalar)
fn mul_assign(&mut self, rhs: WrappedScalar)
Performs the
*= operation. Read moreSource§impl<'a> Neg for &'a WrappedRistretto
impl<'a> Neg for &'a WrappedRistretto
Source§impl Neg for WrappedRistretto
impl Neg for WrappedRistretto
Source§impl PartialEq for WrappedRistretto
impl PartialEq for WrappedRistretto
Source§impl Serialize for WrappedRistretto
Available on crate feature serde only.
impl Serialize for WrappedRistretto
Available on crate feature
serde only.Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'a, 'b> Sub<&'b WrappedRistretto> for &'a WrappedRistretto
impl<'a, 'b> Sub<&'b WrappedRistretto> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: &'b WrappedRistretto,
) -> <&'a WrappedRistretto as Sub<&'b WrappedRistretto>>::Output
fn sub( self, rhs: &'b WrappedRistretto, ) -> <&'a WrappedRistretto as Sub<&'b WrappedRistretto>>::Output
Performs the
- operation. Read moreSource§impl<'b> Sub<&'b WrappedRistretto> for WrappedRistretto
impl<'b> Sub<&'b WrappedRistretto> for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: &'b WrappedRistretto,
) -> <WrappedRistretto as Sub<&'b WrappedRistretto>>::Output
fn sub( self, rhs: &'b WrappedRistretto, ) -> <WrappedRistretto as Sub<&'b WrappedRistretto>>::Output
Performs the
- operation. Read moreSource§impl<'a> Sub<WrappedRistretto> for &'a WrappedRistretto
impl<'a> Sub<WrappedRistretto> for &'a WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: WrappedRistretto,
) -> <&'a WrappedRistretto as Sub<WrappedRistretto>>::Output
fn sub( self, rhs: WrappedRistretto, ) -> <&'a WrappedRistretto as Sub<WrappedRistretto>>::Output
Performs the
- operation. Read moreSource§impl Sub for WrappedRistretto
impl Sub for WrappedRistretto
Source§type Output = WrappedRistretto
type Output = WrappedRistretto
The resulting type after applying the
- operator.Source§fn sub(self, rhs: WrappedRistretto) -> <WrappedRistretto as Sub>::Output
fn sub(self, rhs: WrappedRistretto) -> <WrappedRistretto as Sub>::Output
Performs the
- operation. Read moreSource§impl<'b> SubAssign<&'b WrappedRistretto> for WrappedRistretto
impl<'b> SubAssign<&'b WrappedRistretto> for WrappedRistretto
Source§fn sub_assign(&mut self, rhs: &'b WrappedRistretto)
fn sub_assign(&mut self, rhs: &'b WrappedRistretto)
Performs the
-= operation. Read moreSource§impl SubAssign for WrappedRistretto
impl SubAssign for WrappedRistretto
Source§fn sub_assign(&mut self, rhs: WrappedRistretto)
fn sub_assign(&mut self, rhs: WrappedRistretto)
Performs the
-= operation. Read moreSource§impl<T> Sum<T> for WrappedRistrettowhere
T: Borrow<WrappedRistretto>,
impl<T> Sum<T> for WrappedRistrettowhere
T: Borrow<WrappedRistretto>,
Source§fn sum<I>(iter: I) -> WrappedRistrettowhere
I: Iterator<Item = T>,
fn sum<I>(iter: I) -> WrappedRistrettowhere
I: Iterator<Item = T>,
Takes an iterator and generates
Self from the elements by “summing up”
the items.Source§impl UpperHex for WrappedRistretto
impl UpperHex for WrappedRistretto
impl Copy for WrappedRistretto
impl Eq for WrappedRistretto
Auto Trait Implementations§
impl Freeze for WrappedRistretto
impl RefUnwindSafe for WrappedRistretto
impl Send for WrappedRistretto
impl Sync for WrappedRistretto
impl Unpin for WrappedRistretto
impl UnwindSafe for WrappedRistretto
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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<G> SumOfProducts for G
impl<G> SumOfProducts for G
Source§fn sum_of_products(pairs: &[(<G as Group>::Scalar, G)]) -> G
fn sum_of_products(pairs: &[(<G as Group>::Scalar, G)]) -> G
Compute the sum of products of a slice of group elements and a slice of scalars
as group[0]^field[0] * group[1]^field[1] * … * group[n]^field[n]
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.