pub fn spends_per_anchor(&self) -> impl Iterator<Item = Spend<PerSpendAnchor>> + '_ {
        self.spends()
            .cloned()
            .map(move |spend| Spend::<PerSpendAnchor>::from((spend, self.shared_anchor.clone())))
    }
/// Iterate over the [`Spend`]s for this transaction.
///
/// Returns `Spend<PerSpendAnchor>` regardless of the underlying transaction
/// version, to allow generic verification over V4 and V5 transactions.
///
/// # Correctness
///
/// Do not use this function for serialization.
Iterate over the [`Spend`]s for this transaction.
Returns `Spend` regardless of the underlying transaction
version, to allow generic verification over V4 and V5 transactions.
Iterate over the [ ` Spend ` ] s for this transaction . Returns ` Spend ` regardless of the underlying transaction version to allow generic verification over V4 and V5 transactions .
pub fn spends_per_anchor(&self) -> impl Iterator<Item = Spend<PerSpendAnchor>> + '_ {
        self.spends()
            .cloned()
            .map(move |spend| Spend::<PerSpendAnchor>::from((spend, self.shared_anchor.clone())))
    }
pub fn spends_per_anchor ( & self ) -> impl Iterator < Item = Spend < PerSpendAnchor > > + ' _ { self . spends ( ) . cloned ( ) . map ( move | spend | Spend :: < PerSpendAnchor > :: from ( ( spend , self . shared_anchor . clone ( ) ) ) ) }
Iterate over the [`Spend`]s for this transaction.
Iterate over the [ ` Spend ` ] s for this transaction .
&self
correctness
Do not use this function for serialization.
Do not use this function for serialization .