pub struct GasPrice;Expand description
Get price of gas in current environment.
Trait Implementations§
Source§impl Instruction for GasPrice
impl Instruction for GasPrice
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 GasPrice
impl Eq for GasPrice
impl StructuralPartialEq for GasPrice
Auto Trait Implementations§
impl Freeze for GasPrice
impl RefUnwindSafe for GasPrice
impl Send for GasPrice
impl Sync for GasPrice
impl Unpin for GasPrice
impl UnwindSafe for GasPrice
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