pub struct InstructionsWithRelocations {
pub instructions: Vec<Instruction>,
pub relocations: Vec<RelocationEntry>,
pub cost: ConstCost,
}
Expand description
Represents a list of instructions with their relocations.
Fields§
§instructions: Vec<Instruction>
§relocations: Vec<RelocationEntry>
§cost: ConstCost
The gas cost of executing the instructions.
Trait Implementations§
source§impl Default for InstructionsWithRelocations
impl Default for InstructionsWithRelocations
source§fn default() -> InstructionsWithRelocations
fn default() -> InstructionsWithRelocations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InstructionsWithRelocations
impl Send for InstructionsWithRelocations
impl Sync for InstructionsWithRelocations
impl Unpin for InstructionsWithRelocations
impl UnwindSafe for InstructionsWithRelocations
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