Struct move_vm_test_utils::gas_schedule::CostTable
source · [−]Expand description
The cost tables, keyed by the serialized form of the bytecode instruction. We use the serialized form as opposed to the instruction enum itself as the key since this will be the on-chain representation of bytecode instructions in the future.
Fields
instruction_table: Vec<GasCost>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CostTable
impl<'de> Deserialize<'de> for CostTable
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CostTable> for CostTable
impl PartialEq<CostTable> for CostTable
impl StructuralPartialEq for CostTable
Auto Trait Implementations
impl RefUnwindSafe for CostTable
impl Send for CostTable
impl Sync for CostTable
impl Unpin for CostTable
impl UnwindSafe for CostTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more