[−][src]Enum rustpython_bytecode::bytecode::Instruction
A Single bytecode instruction.
Variants
Import
Fields of Import
ImportStar
Fields of ImportStar
LoadName
Fields of LoadName
StoreName
Fields of StoreName
DeleteName
Fields of DeleteName
name: String
StoreSubscript
DeleteSubscript
StoreAttr
Fields of StoreAttr
name: String
DeleteAttr
Fields of DeleteAttr
name: String
LoadConst
Fields of LoadConst
value: Constant
UnaryOperation
Fields of UnaryOperation
op: UnaryOperator
BinaryOperation
Fields of BinaryOperation
op: BinaryOperator
inplace: bool
LoadAttr
Fields of LoadAttr
name: String
CompareOperation
Fields of CompareOperation
Pop
Rotate
Fields of Rotate
amount: usize
Duplicate
GetIter
Pass
Continue
Break
Jump
Fields of Jump
target: Label
JumpIf
Fields of JumpIf
target: Label
JumpIfFalse
Fields of JumpIfFalse
target: Label
MakeFunction
Fields of MakeFunction
flags: FunctionOpArg
CallFunction
Fields of CallFunction
typ: CallType
ForIter
Fields of ForIter
target: Label
ReturnValue
YieldValue
YieldFrom
SetupLoop
Fields of SetupLoop
SetupExcept
Fields of SetupExcept
handler: Label
SetupWith
Fields of SetupWith
end: Label
CleanupWith
Fields of CleanupWith
end: Label
PopBlock
Raise
Fields of Raise
argc: usize
BuildString
Fields of BuildString
size: usize
BuildTuple
Fields of BuildTuple
BuildList
Fields of BuildList
BuildSet
Fields of BuildSet
BuildMap
Fields of BuildMap
BuildSlice
Fields of BuildSlice
size: usize
ListAppend
Fields of ListAppend
i: usize
SetAdd
Fields of SetAdd
i: usize
MapAdd
Fields of MapAdd
i: usize
PrintExpr
LoadBuildClass
UnpackSequence
Fields of UnpackSequence
size: usize
UnpackEx
Fields of UnpackEx
Unpack
FormatValue
Fields of FormatValue
conversion: Option<ConversionFlag>
spec: String
PopException
Trait Implementations
impl Clone for Instruction
[src]
fn clone(&self) -> Instruction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Instruction> for Instruction
[src]
fn eq(&self, other: &Instruction) -> bool
[src]
fn ne(&self, other: &Instruction) -> bool
[src]
impl Debug for Instruction
[src]
impl Serialize for Instruction
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Instruction
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for Instruction
impl Unpin for Instruction
impl Send for Instruction
impl UnwindSafe for Instruction
impl RefUnwindSafe for Instruction
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,