#[repr(C, packed(1))]pub struct BlockNumberWithHash {
pub bn: BlockNumber,
pub hash: Hash,
}Expand description
Represents type defining concatenated block number with hash. 36 bytes.
Fields§
§bn: BlockNumber§hash: HashImplementations§
Source§impl BlockNumberWithHash
impl BlockNumberWithHash
pub fn as_mut_ptr(&mut self) -> *mut Self
Trait Implementations§
Source§impl Debug for BlockNumberWithHash
impl Debug for BlockNumberWithHash
Source§impl Default for BlockNumberWithHash
impl Default for BlockNumberWithHash
Source§fn default() -> BlockNumberWithHash
fn default() -> BlockNumberWithHash
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockNumberWithHash
impl RefUnwindSafe for BlockNumberWithHash
impl Send for BlockNumberWithHash
impl Sync for BlockNumberWithHash
impl Unpin for BlockNumberWithHash
impl UnwindSafe for BlockNumberWithHash
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