Struct ckb_types::packed::HeaderBuilder
source · pub struct HeaderBuilder { /* private fields */ }
Implementations§
source§impl HeaderBuilder
impl HeaderBuilder
pub const TOTAL_SIZE: usize = 208usize
pub const FIELD_SIZES: [usize; 2] = _
pub const FIELD_COUNT: usize = 2usize
pub fn raw(self, v: RawHeader) -> HeaderBuilder
pub fn nonce(self, v: Uint128) -> HeaderBuilder
Trait Implementations§
source§impl Builder for HeaderBuilder
impl Builder for HeaderBuilder
source§impl Debug for HeaderBuilder
impl Debug for HeaderBuilder
source§impl Default for HeaderBuilder
impl Default for HeaderBuilder
source§fn default() -> HeaderBuilder
fn default() -> HeaderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HeaderBuilder
impl Send for HeaderBuilder
impl Sync for HeaderBuilder
impl Unpin for HeaderBuilder
impl UnwindSafe for HeaderBuilder
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