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) -> Self
pub fn block_hash(self, v: Byte32) -> Self
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 !Freeze for NumberHashBuilder
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