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