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