pub enum RegisterOrConstant<R: ArchReg> {
Register(usize, Register<R>),
Constant(usize, u64),
}
Variants§
Trait Implementations§
source§impl<R: Clone + ArchReg> Clone for RegisterOrConstant<R>
impl<R: Clone + ArchReg> Clone for RegisterOrConstant<R>
source§fn clone(&self) -> RegisterOrConstant<R>
fn clone(&self) -> RegisterOrConstant<R>
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<'a, R, A: 'a + Architecture> Liftable<'a, A> for RegisterOrConstant<R>
impl<'a, R, A: 'a + Architecture> Liftable<'a, A> for RegisterOrConstant<R>
source§impl<'a, R, A: 'a + Architecture> LiftableWithSize<'a, A> for RegisterOrConstant<R>
impl<'a, R, A: 'a + Architecture> LiftableWithSize<'a, A> for RegisterOrConstant<R>
fn lift_with_size( il: &'a Function<A, Mutable, NonSSA<LiftedNonSSA>>, reg: Self, size: usize, ) -> Expression<'a, A, Mutable, NonSSA<LiftedNonSSA>, ValueExpr>
impl<R: Copy + ArchReg> Copy for RegisterOrConstant<R>
Auto Trait Implementations§
impl<R> Freeze for RegisterOrConstant<R>where
R: Freeze,
impl<R> RefUnwindSafe for RegisterOrConstant<R>where
R: RefUnwindSafe,
impl<R> Send for RegisterOrConstant<R>where
R: Send,
impl<R> Sync for RegisterOrConstant<R>where
R: Sync,
impl<R> Unpin for RegisterOrConstant<R>where
R: Unpin,
impl<R> UnwindSafe for RegisterOrConstant<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