Struct chain_impl_mockchain::transaction::OutputsSlice
source · pub struct OutputsSlice<'a>(u8, &'a [u8]);
Tuple Fields§
§0: u8
§1: &'a [u8]
Implementations§
source§impl<'a> OutputsSlice<'a>
impl<'a> OutputsSlice<'a>
pub fn nb_outputs(&self) -> u8
pub fn iter(self) -> OutputsIter<'a> ⓘ
Trait Implementations§
source§impl<'a> Clone for OutputsSlice<'a>
impl<'a> Clone for OutputsSlice<'a>
source§fn clone(&self) -> OutputsSlice<'a>
fn clone(&self) -> OutputsSlice<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for OutputsSlice<'a>
impl<'a> Send for OutputsSlice<'a>
impl<'a> Sync for OutputsSlice<'a>
impl<'a> Unpin for OutputsSlice<'a>
impl<'a> UnwindSafe for OutputsSlice<'a>
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