Struct ckb_types::packed::TransactionVecBuilder
source · pub struct TransactionVecBuilder(/* private fields */);
Implementations§
source§impl TransactionVecBuilder
impl TransactionVecBuilder
pub fn set(self, v: Vec<Transaction>) -> TransactionVecBuilder
pub fn push(self, v: Transaction) -> TransactionVecBuilder
pub fn extend<T>(self, iter: T) -> TransactionVecBuilderwhere
T: IntoIterator<Item = Transaction>,
pub fn replace(&mut self, index: usize, v: Transaction) -> Option<Transaction>
Trait Implementations§
source§impl Builder for TransactionVecBuilder
impl Builder for TransactionVecBuilder
source§impl Debug for TransactionVecBuilder
impl Debug for TransactionVecBuilder
source§impl Default for TransactionVecBuilder
impl Default for TransactionVecBuilder
source§fn default() -> TransactionVecBuilder
fn default() -> TransactionVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransactionVecBuilder
impl Send for TransactionVecBuilder
impl Sync for TransactionVecBuilder
impl Unpin for TransactionVecBuilder
impl UnwindSafe for TransactionVecBuilder
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