Struct outmove_common::types::gas_schedule::InternalGasUnits [−][src]
Units of gas used within the Move VM, scaled for fine-grained accounting.
Trait Implementations
impl<GasCarrier: Clone> Clone for InternalGasUnits<GasCarrier>
[src]
fn clone(&self) -> InternalGasUnits<GasCarrier>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<GasCarrier: Copy> Copy for InternalGasUnits<GasCarrier>
[src]
impl<GasCarrier: Debug> Debug for InternalGasUnits<GasCarrier>
[src]
impl<'de, GasCarrier> Deserialize<'de> for InternalGasUnits<GasCarrier> where
GasCarrier: Deserialize<'de>,
[src]
GasCarrier: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<GasCarrier: Eq> Eq for InternalGasUnits<GasCarrier>
[src]
impl GasAlgebra<u64> for InternalGasUnits<GasCarrier>
[src]
fn new(c: GasCarrier) -> Self
[src]
fn get(&self) -> GasCarrier
[src]
fn map<F: Fn(GasCarrier) -> GasCarrier>(self, f: F) -> Self
[src]
fn map2<F: Fn(GasCarrier, GasCarrier) -> GasCarrier>(
self,
other: impl GasAlgebra<GasCarrier>,
f: F
) -> Self
[src]
self,
other: impl GasAlgebra<GasCarrier>,
f: F
) -> Self
fn app<T, F: Fn(GasCarrier, GasCarrier) -> T>(
&self,
other: &impl GasAlgebra<GasCarrier>,
f: F
) -> T
[src]
&self,
other: &impl GasAlgebra<GasCarrier>,
f: F
) -> T
fn unitary_cast<T: GasAlgebra<GasCarrier>>(self) -> T
[src]
fn add(self, right: impl GasAlgebra<GasCarrier>) -> Self
[src]
fn sub(self, right: impl GasAlgebra<GasCarrier>) -> Self
[src]
fn mul(self, right: impl GasAlgebra<GasCarrier>) -> Self
[src]
fn div(self, right: impl GasAlgebra<GasCarrier>) -> Self
[src]
impl<GasCarrier: Hash> Hash for InternalGasUnits<GasCarrier>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<GasCarrier: PartialEq> PartialEq<InternalGasUnits<GasCarrier>> for InternalGasUnits<GasCarrier>
[src]
fn eq(&self, other: &InternalGasUnits<GasCarrier>) -> bool
[src]
fn ne(&self, other: &InternalGasUnits<GasCarrier>) -> bool
[src]
impl<GasCarrier> Serialize for InternalGasUnits<GasCarrier> where
GasCarrier: Serialize,
[src]
GasCarrier: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<GasCarrier> StructuralEq for InternalGasUnits<GasCarrier>
[src]
impl<GasCarrier> StructuralPartialEq for InternalGasUnits<GasCarrier>
[src]
Auto Trait Implementations
impl<GasCarrier> RefUnwindSafe for InternalGasUnits<GasCarrier> where
GasCarrier: RefUnwindSafe,
[src]
GasCarrier: RefUnwindSafe,
impl<GasCarrier> Send for InternalGasUnits<GasCarrier> where
GasCarrier: Send,
[src]
GasCarrier: Send,
impl<GasCarrier> Sync for InternalGasUnits<GasCarrier> where
GasCarrier: Sync,
[src]
GasCarrier: Sync,
impl<GasCarrier> Unpin for InternalGasUnits<GasCarrier> where
GasCarrier: Unpin,
[src]
GasCarrier: Unpin,
impl<GasCarrier> UnwindSafe for InternalGasUnits<GasCarrier> where
GasCarrier: UnwindSafe,
[src]
GasCarrier: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,