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