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