Struct ckb_types::core::cell::TransactionsProvider
source · pub struct TransactionsProvider<'a> { /* private fields */ }
Expand description
TODO(doc): @quake
Implementations§
source§impl<'a> TransactionsProvider<'a>
impl<'a> TransactionsProvider<'a>
sourcepub fn new(transactions: impl Iterator<Item = &'a TransactionView>) -> Self
pub fn new(transactions: impl Iterator<Item = &'a TransactionView>) -> Self
TODO(doc): @quake
sourcepub fn insert(&mut self, transaction: &'a TransactionView)
pub fn insert(&mut self, transaction: &'a TransactionView)
TODO(doc): @quake
Trait Implementations§
source§impl<'a> CellProvider for TransactionsProvider<'a>
impl<'a> CellProvider for TransactionsProvider<'a>
source§impl<'a> Default for TransactionsProvider<'a>
impl<'a> Default for TransactionsProvider<'a>
source§fn default() -> TransactionsProvider<'a>
fn default() -> TransactionsProvider<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for TransactionsProvider<'a>
impl<'a> RefUnwindSafe for TransactionsProvider<'a>
impl<'a> Send for TransactionsProvider<'a>
impl<'a> Sync for TransactionsProvider<'a>
impl<'a> Unpin for TransactionsProvider<'a>
impl<'a> UnwindSafe for TransactionsProvider<'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