pub struct GasAmount { /* private fields */ }
Expand description
Read-only representation of consumed GasCounter
.
Copy
trait isn’t implemented for the type (however could be)
in order to make the data only moveable, preventing implicit/explicit copying.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GasAmount
impl RefUnwindSafe for GasAmount
impl Send for GasAmount
impl Sync for GasAmount
impl Unpin for GasAmount
impl UnwindSafe for GasAmount
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