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