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