pub enum LowLevelILRegisterKind<R: ArchReg> {
Arch(R),
Temp(LowLevelILTempRegister),
}Variants§
Arch(R)
Temp(LowLevelILTempRegister)
Implementations§
Source§impl<R: ArchReg> LowLevelILRegisterKind<R>
impl<R: ArchReg> LowLevelILRegisterKind<R>
pub fn from_raw( arch: &impl Architecture<Register = R>, val: RegisterId, ) -> Option<Self>
pub fn from_temp(temp: impl Into<LowLevelILTempRegister>) -> Self
pub fn id(&self) -> RegisterId
pub fn name(&self) -> Cow<'_, str>
Trait Implementations§
Source§impl<R: Clone + ArchReg> Clone for LowLevelILRegisterKind<R>
impl<R: Clone + ArchReg> Clone for LowLevelILRegisterKind<R>
Source§fn clone(&self) -> LowLevelILRegisterKind<R>
fn clone(&self) -> LowLevelILRegisterKind<R>
Returns a duplicate 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<R: ArchReg> Debug for LowLevelILRegisterKind<R>
impl<R: ArchReg> Debug for LowLevelILRegisterKind<R>
Source§impl From<LowLevelILTempRegister> for LowLevelILRegisterKind<CoreRegister>
impl From<LowLevelILTempRegister> for LowLevelILRegisterKind<CoreRegister>
Source§fn from(reg: LowLevelILTempRegister) -> Self
fn from(reg: LowLevelILTempRegister) -> Self
Converts to this type from the input type.
Source§impl<'a, R> LiftableLowLevelIL<'a> for LowLevelILRegisterKind<R>
impl<'a, R> LiftableLowLevelIL<'a> for LowLevelILRegisterKind<R>
type Result = ValueExpr
fn lift( il: &'a LowLevelILMutableFunction, reg: Self, ) -> LowLevelILMutableExpression<'a, Self::Result>
Source§impl<'a, R> LiftableLowLevelILWithSize<'a> for LowLevelILRegisterKind<R>
impl<'a, R> LiftableLowLevelILWithSize<'a> for LowLevelILRegisterKind<R>
fn lift_with_size( il: &'a LowLevelILMutableFunction, reg: Self, size: usize, ) -> LowLevelILMutableExpression<'a, ValueExpr>
impl<R: Copy + ArchReg> Copy for LowLevelILRegisterKind<R>
impl<R: Eq + ArchReg> Eq for LowLevelILRegisterKind<R>
impl<R: ArchReg> StructuralPartialEq for LowLevelILRegisterKind<R>
Auto Trait Implementations§
impl<R> Freeze for LowLevelILRegisterKind<R>where
R: Freeze,
impl<R> RefUnwindSafe for LowLevelILRegisterKind<R>where
R: RefUnwindSafe,
impl<R> Send for LowLevelILRegisterKind<R>where
R: Send,
impl<R> Sync for LowLevelILRegisterKind<R>where
R: Sync,
impl<R> Unpin for LowLevelILRegisterKind<R>where
R: Unpin,
impl<R> UnwindSafe for LowLevelILRegisterKind<R>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more