pub struct EvmWord(pub [u8; 32]);Expand description
One 256-bit word, big-endian.
Printed the way traces spell stack words: 0x and the value in lowercase hex without
leading zeros, and 0x0 for zero. A word read in any other spelling, padded or in
upper case, is printed in that one.
Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl EvmWord
impl EvmWord
Trait Implementations§
impl Copy for EvmWord
Source§impl<'de> Deserialize<'de> for EvmWord
impl<'de> Deserialize<'de> for EvmWord
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EvmWord
Source§impl Ord for EvmWord
impl Ord for EvmWord
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for EvmWord
impl PartialOrd for EvmWord
impl StructuralPartialEq for EvmWord
Auto Trait Implementations§
impl Freeze for EvmWord
impl RefUnwindSafe for EvmWord
impl Send for EvmWord
impl Sync for EvmWord
impl Unpin for EvmWord
impl UnsafeUnpin for EvmWord
impl UnwindSafe for EvmWord
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