pub struct TxOutEncoder<'e>(/* private fields */);Expand description
The encoder for the TxOut type.
Implementations§
Source§impl<'e> TxOutEncoder<'e>
impl<'e> TxOutEncoder<'e>
Sourcepub fn new(
encoder: Encoder2<AmountEncoder<'e>, ScriptEncoder<'e>>,
) -> TxOutEncoder<'e>
pub fn new( encoder: Encoder2<AmountEncoder<'e>, ScriptEncoder<'e>>, ) -> TxOutEncoder<'e>
Construct a new instance of the newtype encoder
Trait Implementations§
Auto Trait Implementations§
impl<'e> Freeze for TxOutEncoder<'e>
impl<'e> RefUnwindSafe for TxOutEncoder<'e>
impl<'e> Send for TxOutEncoder<'e>
impl<'e> Sync for TxOutEncoder<'e>
impl<'e> Unpin for TxOutEncoder<'e>
impl<'e> UnsafeUnpin for TxOutEncoder<'e>
impl<'e> UnwindSafe for TxOutEncoder<'e>
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