pub struct GasCounter { /* private fields */ }Expand description
Mutable gas counter with structured charge / check semantics.
Implementations§
Trait Implementations§
Source§impl Clone for GasCounter
impl Clone for GasCounter
Source§fn clone(&self) -> GasCounter
fn clone(&self) -> GasCounter
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 GasCounter
impl Debug for GasCounter
Source§impl PartialEq for GasCounter
impl PartialEq for GasCounter
impl Eq for GasCounter
impl StructuralPartialEq for GasCounter
Auto Trait Implementations§
impl Freeze for GasCounter
impl RefUnwindSafe for GasCounter
impl Send for GasCounter
impl Sync for GasCounter
impl Unpin for GasCounter
impl UnsafeUnpin for GasCounter
impl UnwindSafe for GasCounter
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