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