pub struct BlockHashPrefix(/* private fields */);Trait Implementations§
Source§impl Clone for BlockHashPrefix
impl Clone for BlockHashPrefix
Source§fn clone(&self) -> BlockHashPrefix
fn clone(&self) -> BlockHashPrefix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockHashPrefix
impl Debug for BlockHashPrefix
Source§impl Deref for BlockHashPrefix
impl Deref for BlockHashPrefix
Source§impl From<&BlockHash> for BlockHashPrefix
impl From<&BlockHash> for BlockHashPrefix
Source§fn from(value: &BlockHash) -> BlockHashPrefix
fn from(value: &BlockHash) -> BlockHashPrefix
Converts to this type from the input type.
Source§impl From<BlockHash> for BlockHashPrefix
impl From<BlockHash> for BlockHashPrefix
Source§fn from(value: BlockHash) -> BlockHashPrefix
fn from(value: BlockHash) -> BlockHashPrefix
Converts to this type from the input type.
Source§impl From<ByteView> for BlockHashPrefix
impl From<ByteView> for BlockHashPrefix
Source§fn from(value: ByteView) -> BlockHashPrefix
fn from(value: ByteView) -> BlockHashPrefix
Converts to this type from the input type.
Source§impl From<u64> for BlockHashPrefix
impl From<u64> for BlockHashPrefix
Source§fn from(value: u64) -> BlockHashPrefix
fn from(value: u64) -> BlockHashPrefix
Converts to this type from the input type.
Source§impl Hash for BlockHashPrefix
impl Hash for BlockHashPrefix
Source§impl Ord for BlockHashPrefix
impl Ord for BlockHashPrefix
Source§fn cmp(&self, other: &BlockHashPrefix) -> Ordering
fn cmp(&self, other: &BlockHashPrefix) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlockHashPrefix
impl PartialEq for BlockHashPrefix
Source§impl PartialOrd for BlockHashPrefix
impl PartialOrd for BlockHashPrefix
impl Copy for BlockHashPrefix
impl Eq for BlockHashPrefix
impl StructuralPartialEq for BlockHashPrefix
Auto Trait Implementations§
impl Freeze for BlockHashPrefix
impl RefUnwindSafe for BlockHashPrefix
impl Send for BlockHashPrefix
impl Sync for BlockHashPrefix
impl Unpin for BlockHashPrefix
impl UnsafeUnpin for BlockHashPrefix
impl UnwindSafe for BlockHashPrefix
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more