pub enum BinOpType {
Show 34 variants
Piece,
IntEqual,
IntNotEqual,
IntLess,
IntSLess,
IntLessEqual,
IntSLessEqual,
IntAdd,
IntSub,
IntCarry,
IntSCarry,
IntSBorrow,
IntXOr,
IntAnd,
IntOr,
IntLeft,
IntRight,
IntSRight,
IntMult,
IntDiv,
IntRem,
IntSDiv,
IntSRem,
BoolXOr,
BoolAnd,
BoolOr,
FloatEqual,
FloatNotEqual,
FloatLess,
FloatLessEqual,
FloatAdd,
FloatSub,
FloatMult,
FloatDiv,
}
Expand description
The type/mnemonic of a binary operation. See the Ghidra P-Code documentation for more information.
Variants§
Piece
IntEqual
IntNotEqual
IntLess
IntSLess
IntLessEqual
IntSLessEqual
IntAdd
IntSub
IntCarry
IntSCarry
IntSBorrow
IntXOr
IntAnd
IntOr
IntLeft
IntRight
IntSRight
IntMult
IntDiv
IntRem
IntSDiv
IntSRem
BoolXOr
BoolAnd
BoolOr
FloatEqual
FloatNotEqual
FloatLess
FloatLessEqual
FloatAdd
FloatSub
FloatMult
FloatDiv
Trait Implementations§
source§impl<'de> Deserialize<'de> for BinOpType
impl<'de> Deserialize<'de> for BinOpType
source§fn 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
source§impl From<ExpressionType> for BinOpType
impl From<ExpressionType> for BinOpType
source§fn from(expr_type: ExpressionType) -> IrBinOpType
fn from(expr_type: ExpressionType) -> IrBinOpType
Translates expression types. Panics when given a type not representable by the target type.
source§impl PartialEq for BinOpType
impl PartialEq for BinOpType
impl Copy for BinOpType
impl Eq for BinOpType
impl StructuralEq for BinOpType
impl StructuralPartialEq for BinOpType
Auto Trait Implementations§
impl RefUnwindSafe for BinOpType
impl Send for BinOpType
impl Sync for BinOpType
impl Unpin for BinOpType
impl UnwindSafe for BinOpType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.