pub enum CastOpType {
IntZExt,
IntSExt,
Int2Float,
Float2Float,
Trunc,
PopCount,
LzCount,
}
Expand description
The type/mnemonic of a typecast See the Ghidra P-Code documentation for more information.
Variants§
Trait Implementations§
source§impl Clone for CastOpType
impl Clone for CastOpType
source§fn clone(&self) -> CastOpType
fn clone(&self) -> CastOpType
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 CastOpType
impl Debug for CastOpType
source§impl<'de> Deserialize<'de> for CastOpType
impl<'de> Deserialize<'de> for CastOpType
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 Display for CastOpType
impl Display for CastOpType
source§impl From<ExpressionType> for CastOpType
impl From<ExpressionType> for CastOpType
source§fn from(expr_type: ExpressionType) -> IrCastOpType
fn from(expr_type: ExpressionType) -> IrCastOpType
Translates expression types. Panics when given a type not representable by the target type.
source§impl Hash for CastOpType
impl Hash for CastOpType
source§impl PartialEq for CastOpType
impl PartialEq for CastOpType
source§fn eq(&self, other: &CastOpType) -> bool
fn eq(&self, other: &CastOpType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CastOpType
impl Serialize for CastOpType
impl Copy for CastOpType
impl Eq for CastOpType
impl StructuralEq for CastOpType
impl StructuralPartialEq for CastOpType
Auto Trait Implementations§
impl RefUnwindSafe for CastOpType
impl Send for CastOpType
impl Sync for CastOpType
impl Unpin for CastOpType
impl UnwindSafe for CastOpType
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.