pub struct GasCosts(_);
Expand description
Gas costings for every op.
The inner values are wrapped in an Arc
so this is cheap to clone.
Implementations§
Trait Implementations§
source§impl From<GasCosts> for GasCostsValues
impl From<GasCosts> for GasCostsValues
source§impl From<GasCostsValues> for GasCosts
impl From<GasCostsValues> for GasCosts
source§fn from(i: GasCostsValues) -> Self
fn from(i: GasCostsValues) -> Self
Converts to this type from the input type.
source§impl PartialEq<GasCosts> for GasCosts
impl PartialEq<GasCosts> for GasCosts
impl Eq for GasCosts
impl StructuralEq for GasCosts
impl StructuralPartialEq for GasCosts
Auto Trait Implementations§
impl RefUnwindSafe for GasCosts
impl Send for GasCosts
impl Sync for GasCosts
impl Unpin for GasCosts
impl UnwindSafe for GasCosts
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more