pub enum RegisterRule {
Undefined,
SameValue,
Offset(i64),
ValOffset(i64),
Register(u16),
Expression(Vec<u8>),
ValExpression(Vec<u8>),
}Expand description
How to restore a single register.
Variants§
Undefined
SameValue
Offset(i64)
ValOffset(i64)
Register(u16)
Expression(Vec<u8>)
ValExpression(Vec<u8>)
Trait Implementations§
Source§impl Clone for RegisterRule
impl Clone for RegisterRule
Source§fn clone(&self) -> RegisterRule
fn clone(&self) -> RegisterRule
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 moreAuto Trait Implementations§
impl Freeze for RegisterRule
impl RefUnwindSafe for RegisterRule
impl Send for RegisterRule
impl Sync for RegisterRule
impl Unpin for RegisterRule
impl UnsafeUnpin for RegisterRule
impl UnwindSafe for RegisterRule
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