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