pub struct GasLimit;Expand description
Get the block’s gas limit.
Trait Implementations§
Source§impl Instruction for GasLimit
impl Instruction for GasLimit
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 moreimpl Copy for GasLimit
impl Eq for GasLimit
impl StructuralPartialEq for GasLimit
Auto Trait Implementations§
impl Freeze for GasLimit
impl RefUnwindSafe for GasLimit
impl Send for GasLimit
impl Sync for GasLimit
impl Unpin for GasLimit
impl UnwindSafe for GasLimit
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