Enum polkavm_common::program::LineProgramOp
source · pub enum LineProgramOp {
Show 20 variants
FinishProgram = 0,
SetMutationDepth = 1,
SetKindEnter = 2,
SetKindCall = 3,
SetKindLine = 4,
SetNamespace = 5,
SetFunctionName = 6,
SetPath = 7,
SetLine = 8,
SetColumn = 9,
SetStackDepth = 10,
IncrementLine = 11,
AddLine = 12,
SubLine = 13,
FinishInstruction = 14,
FinishMultipleInstructions = 15,
FinishInstructionAndIncrementStackDepth = 16,
FinishMultipleInstructionsAndIncrementStackDepth = 17,
FinishInstructionAndDecrementStackDepth = 18,
FinishMultipleInstructionsAndDecrementStackDepth = 19,
}
Variants§
FinishProgram = 0
SetMutationDepth = 1
SetKindEnter = 2
SetKindCall = 3
SetKindLine = 4
SetNamespace = 5
SetFunctionName = 6
SetPath = 7
SetLine = 8
SetColumn = 9
SetStackDepth = 10
IncrementLine = 11
AddLine = 12
SubLine = 13
FinishInstruction = 14
FinishMultipleInstructions = 15
FinishInstructionAndIncrementStackDepth = 16
FinishMultipleInstructionsAndIncrementStackDepth = 17
FinishInstructionAndDecrementStackDepth = 18
FinishMultipleInstructionsAndDecrementStackDepth = 19
Implementations§
Trait Implementations§
source§impl Clone for LineProgramOp
impl Clone for LineProgramOp
source§fn clone(&self) -> LineProgramOp
fn clone(&self) -> LineProgramOp
Returns a copy 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 LineProgramOp
impl Debug for LineProgramOp
impl Copy for LineProgramOp
Auto Trait Implementations§
impl RefUnwindSafe for LineProgramOp
impl Send for LineProgramOp
impl Sync for LineProgramOp
impl Unpin for LineProgramOp
impl UnwindSafe for LineProgramOp
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