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