pub struct WrappedEdwards(pub EdwardsPoint);Expand description
Wraps an ed25519 point
Tuple Fields§
§0: EdwardsPointTrait Implementations§
Source§impl<'a, 'b> Add<&'b WrappedEdwards> for &'a WrappedEdwards
impl<'a, 'b> Add<&'b WrappedEdwards> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: &'b WrappedEdwards,
) -> <&'a WrappedEdwards as Add<&'b WrappedEdwards>>::Output
fn add( self, rhs: &'b WrappedEdwards, ) -> <&'a WrappedEdwards as Add<&'b WrappedEdwards>>::Output
Performs the
+ operation. Read moreSource§impl<'b> Add<&'b WrappedEdwards> for WrappedEdwards
impl<'b> Add<&'b WrappedEdwards> for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: &'b WrappedEdwards,
) -> <WrappedEdwards as Add<&'b WrappedEdwards>>::Output
fn add( self, rhs: &'b WrappedEdwards, ) -> <WrappedEdwards as Add<&'b WrappedEdwards>>::Output
Performs the
+ operation. Read moreSource§impl<'a> Add<WrappedEdwards> for &'a WrappedEdwards
impl<'a> Add<WrappedEdwards> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
+ operator.Source§fn add(
self,
rhs: WrappedEdwards,
) -> <&'a WrappedEdwards as Add<WrappedEdwards>>::Output
fn add( self, rhs: WrappedEdwards, ) -> <&'a WrappedEdwards as Add<WrappedEdwards>>::Output
Performs the
+ operation. Read moreSource§impl Add for WrappedEdwards
impl Add for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
+ operator.Source§fn add(self, rhs: WrappedEdwards) -> <WrappedEdwards as Add>::Output
fn add(self, rhs: WrappedEdwards) -> <WrappedEdwards as Add>::Output
Performs the
+ operation. Read moreSource§impl<'b> AddAssign<&'b WrappedEdwards> for WrappedEdwards
impl<'b> AddAssign<&'b WrappedEdwards> for WrappedEdwards
Source§fn add_assign(&mut self, rhs: &'b WrappedEdwards)
fn add_assign(&mut self, rhs: &'b WrappedEdwards)
Performs the
+= operation. Read moreSource§impl AddAssign for WrappedEdwards
impl AddAssign for WrappedEdwards
Source§fn add_assign(&mut self, rhs: WrappedEdwards)
fn add_assign(&mut self, rhs: WrappedEdwards)
Performs the
+= operation. Read moreSource§impl Clone for WrappedEdwards
impl Clone for WrappedEdwards
Source§fn clone(&self) -> WrappedEdwards
fn clone(&self) -> WrappedEdwards
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 WrappedEdwards
impl ConditionallySelectable for WrappedEdwards
Source§fn conditional_select(
a: &WrappedEdwards,
b: &WrappedEdwards,
choice: Choice,
) -> WrappedEdwards
fn conditional_select( a: &WrappedEdwards, b: &WrappedEdwards, choice: Choice, ) -> WrappedEdwards
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 WrappedEdwards
impl ConstantTimeEq for WrappedEdwards
Source§impl Debug for WrappedEdwards
impl Debug for WrappedEdwards
Source§impl Default for WrappedEdwards
impl Default for WrappedEdwards
Source§fn default() -> WrappedEdwards
fn default() -> WrappedEdwards
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WrappedEdwards
Available on crate feature serde only.
impl<'de> Deserialize<'de> for WrappedEdwards
Available on crate feature
serde only.Source§fn deserialize<D>(
d: D,
) -> Result<WrappedEdwards, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
d: D,
) -> Result<WrappedEdwards, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WrappedEdwards
impl Display for WrappedEdwards
Source§impl From<EdwardsPoint> for WrappedEdwards
impl From<EdwardsPoint> for WrappedEdwards
Source§fn from(p: EdwardsPoint) -> WrappedEdwards
fn from(p: EdwardsPoint) -> WrappedEdwards
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 WrappedEdwards
impl Group for WrappedEdwards
Source§type Scalar = WrappedScalar
type Scalar = WrappedScalar
Scalars modulo the order of this group’s scalar field.
Source§fn random(rng: impl RngCore) -> WrappedEdwards
fn random(rng: impl RngCore) -> WrappedEdwards
Returns an element chosen uniformly at random from the non-identity elements of
this group. Read more
Source§fn identity() -> WrappedEdwards
fn identity() -> WrappedEdwards
Returns the additive identity, also known as the “neutral element”.
Source§fn generator() -> WrappedEdwards
fn generator() -> WrappedEdwards
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) -> WrappedEdwards
fn double(&self) -> WrappedEdwards
Doubles this element.
Source§impl GroupEncoding for WrappedEdwards
impl GroupEncoding for WrappedEdwards
Source§fn from_bytes(
bytes: &<WrappedEdwards as GroupEncoding>::Repr,
) -> CtOption<WrappedEdwards>
fn from_bytes( bytes: &<WrappedEdwards as GroupEncoding>::Repr, ) -> CtOption<WrappedEdwards>
Attempts to deserialize a group element from its encoding.
Source§fn from_bytes_unchecked(
bytes: &<WrappedEdwards as GroupEncoding>::Repr,
) -> CtOption<WrappedEdwards>
fn from_bytes_unchecked( bytes: &<WrappedEdwards as GroupEncoding>::Repr, ) -> CtOption<WrappedEdwards>
Attempts to deserialize a group element, not checking if the element is valid. Read more
Source§fn to_bytes(&self) -> <WrappedEdwards as GroupEncoding>::Repr
fn to_bytes(&self) -> <WrappedEdwards as GroupEncoding>::Repr
Converts this element into its byte encoding. This may or may not support
encoding the identity.
Source§impl LowerHex for WrappedEdwards
impl LowerHex for WrappedEdwards
Source§impl<'a, 'b> Mul<&'b WrappedScalar> for &'a WrappedEdwards
impl<'a, 'b> Mul<&'b WrappedScalar> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: &'b WrappedScalar,
) -> <&'a WrappedEdwards as Mul<&'b WrappedScalar>>::Output
fn mul( self, rhs: &'b WrappedScalar, ) -> <&'a WrappedEdwards as Mul<&'b WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'b> Mul<&'b WrappedScalar> for WrappedEdwards
impl<'b> Mul<&'b WrappedScalar> for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: &'b WrappedScalar,
) -> <WrappedEdwards as Mul<&'b WrappedScalar>>::Output
fn mul( self, rhs: &'b WrappedScalar, ) -> <WrappedEdwards as Mul<&'b WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'a> Mul<WrappedScalar> for &'a WrappedEdwards
impl<'a> Mul<WrappedScalar> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: WrappedScalar,
) -> <&'a WrappedEdwards as Mul<WrappedScalar>>::Output
fn mul( self, rhs: WrappedScalar, ) -> <&'a WrappedEdwards as Mul<WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl Mul<WrappedScalar> for WrappedEdwards
impl Mul<WrappedScalar> for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: WrappedScalar,
) -> <WrappedEdwards as Mul<WrappedScalar>>::Output
fn mul( self, rhs: WrappedScalar, ) -> <WrappedEdwards as Mul<WrappedScalar>>::Output
Performs the
* operation. Read moreSource§impl<'b> MulAssign<&'b WrappedScalar> for WrappedEdwards
impl<'b> MulAssign<&'b WrappedScalar> for WrappedEdwards
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 WrappedEdwards
impl MulAssign<WrappedScalar> for WrappedEdwards
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 WrappedEdwards
impl<'a> Neg for &'a WrappedEdwards
Source§impl Neg for WrappedEdwards
impl Neg for WrappedEdwards
Source§impl PartialEq for WrappedEdwards
impl PartialEq for WrappedEdwards
Source§impl Serialize for WrappedEdwards
Available on crate feature serde only.
impl Serialize for WrappedEdwards
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 WrappedEdwards> for &'a WrappedEdwards
impl<'a, 'b> Sub<&'b WrappedEdwards> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: &'b WrappedEdwards,
) -> <&'a WrappedEdwards as Sub<&'b WrappedEdwards>>::Output
fn sub( self, rhs: &'b WrappedEdwards, ) -> <&'a WrappedEdwards as Sub<&'b WrappedEdwards>>::Output
Performs the
- operation. Read moreSource§impl<'b> Sub<&'b WrappedEdwards> for WrappedEdwards
impl<'b> Sub<&'b WrappedEdwards> for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: &'b WrappedEdwards,
) -> <WrappedEdwards as Sub<&'b WrappedEdwards>>::Output
fn sub( self, rhs: &'b WrappedEdwards, ) -> <WrappedEdwards as Sub<&'b WrappedEdwards>>::Output
Performs the
- operation. Read moreSource§impl<'a> Sub<WrappedEdwards> for &'a WrappedEdwards
impl<'a> Sub<WrappedEdwards> for &'a WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: WrappedEdwards,
) -> <&'a WrappedEdwards as Sub<WrappedEdwards>>::Output
fn sub( self, rhs: WrappedEdwards, ) -> <&'a WrappedEdwards as Sub<WrappedEdwards>>::Output
Performs the
- operation. Read moreSource§impl Sub for WrappedEdwards
impl Sub for WrappedEdwards
Source§type Output = WrappedEdwards
type Output = WrappedEdwards
The resulting type after applying the
- operator.Source§fn sub(self, rhs: WrappedEdwards) -> <WrappedEdwards as Sub>::Output
fn sub(self, rhs: WrappedEdwards) -> <WrappedEdwards as Sub>::Output
Performs the
- operation. Read moreSource§impl<'b> SubAssign<&'b WrappedEdwards> for WrappedEdwards
impl<'b> SubAssign<&'b WrappedEdwards> for WrappedEdwards
Source§fn sub_assign(&mut self, rhs: &'b WrappedEdwards)
fn sub_assign(&mut self, rhs: &'b WrappedEdwards)
Performs the
-= operation. Read moreSource§impl SubAssign for WrappedEdwards
impl SubAssign for WrappedEdwards
Source§fn sub_assign(&mut self, rhs: WrappedEdwards)
fn sub_assign(&mut self, rhs: WrappedEdwards)
Performs the
-= operation. Read moreSource§impl<T> Sum<T> for WrappedEdwardswhere
T: Borrow<WrappedEdwards>,
impl<T> Sum<T> for WrappedEdwardswhere
T: Borrow<WrappedEdwards>,
Source§fn sum<I>(iter: I) -> WrappedEdwardswhere
I: Iterator<Item = T>,
fn sum<I>(iter: I) -> WrappedEdwardswhere
I: Iterator<Item = T>,
Takes an iterator and generates
Self from the elements by “summing up”
the items.Source§impl UpperHex for WrappedEdwards
impl UpperHex for WrappedEdwards
impl Copy for WrappedEdwards
impl Eq for WrappedEdwards
Auto Trait Implementations§
impl Freeze for WrappedEdwards
impl RefUnwindSafe for WrappedEdwards
impl Send for WrappedEdwards
impl Sync for WrappedEdwards
impl Unpin for WrappedEdwards
impl UnwindSafe for WrappedEdwards
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.