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