pub struct StateHash(pub u64);Expand description
The hash of a state (state_hash).
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for StateHash
impl Eq for StateHash
Source§impl Ord for StateHash
impl Ord for StateHash
1.21.0 (const: unstable) · 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 PartialOrd for StateHash
impl PartialOrd for StateHash
impl StructuralPartialEq for StateHash
Auto Trait Implementations§
impl Freeze for StateHash
impl RefUnwindSafe for StateHash
impl Send for StateHash
impl Sync for StateHash
impl Unpin for StateHash
impl UnsafeUnpin for StateHash
impl UnwindSafe for StateHash
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