pub struct PrevRandao;Expand description
Get the block’s difficulty.
Trait Implementations§
Source§impl Clone for PrevRandao
impl Clone for PrevRandao
Source§fn clone(&self) -> PrevRandao
fn clone(&self) -> PrevRandao
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 PrevRandao
impl Debug for PrevRandao
Source§impl Display for PrevRandao
impl Display for PrevRandao
Source§impl Hash for PrevRandao
impl Hash for PrevRandao
Source§impl Instruction for PrevRandao
impl Instruction for PrevRandao
Source§fn is_push(&self) -> bool
fn is_push(&self) -> bool
Returns a value signifying whether this instruction is of the type
PUSHx. Read moreSource§fn is_dup(&self) -> bool
fn is_dup(&self) -> bool
Returns a value signifying whether this instruction is of the type
DUPx. Read moreSource§fn is_swap(&self) -> bool
fn is_swap(&self) -> bool
Returns a value signifying whether this instruction is of the type
SWAPx. Read moreSource§impl PartialEq for PrevRandao
impl PartialEq for PrevRandao
impl Copy for PrevRandao
impl Eq for PrevRandao
impl StructuralPartialEq for PrevRandao
Auto Trait Implementations§
impl Freeze for PrevRandao
impl RefUnwindSafe for PrevRandao
impl Send for PrevRandao
impl Sync for PrevRandao
impl Unpin for PrevRandao
impl UnwindSafe for PrevRandao
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