pub enum RegisterOrImmediate {
Register1(Register1),
Immediate1(Immediate1),
}
Expand description
Register or immediate addressing modes required by some VM instructions.
Variants§
Trait Implementations§
source§impl Clone for RegisterOrImmediate
impl Clone for RegisterOrImmediate
source§fn clone(&self) -> RegisterOrImmediate
fn clone(&self) -> RegisterOrImmediate
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 RegisterOrImmediate
impl Debug for RegisterOrImmediate
source§impl From<Immediate1> for RegisterOrImmediate
impl From<Immediate1> for RegisterOrImmediate
source§fn from(v: Immediate1) -> RegisterOrImmediate
fn from(v: Immediate1) -> RegisterOrImmediate
Converts to this type from the input type.
source§impl From<Register1> for RegisterOrImmediate
impl From<Register1> for RegisterOrImmediate
source§fn from(v: Register1) -> RegisterOrImmediate
fn from(v: Register1) -> RegisterOrImmediate
Converts to this type from the input type.
source§impl TryFrom<AnySource> for RegisterOrImmediate
impl TryFrom<AnySource> for RegisterOrImmediate
source§impl TryInto<Immediate1> for RegisterOrImmediate
impl TryInto<Immediate1> for RegisterOrImmediate
source§impl TryInto<Register1> for RegisterOrImmediate
impl TryInto<Register1> for RegisterOrImmediate
impl Copy for RegisterOrImmediate
Auto Trait Implementations§
impl Freeze for RegisterOrImmediate
impl RefUnwindSafe for RegisterOrImmediate
impl Send for RegisterOrImmediate
impl Sync for RegisterOrImmediate
impl Unpin for RegisterOrImmediate
impl UnwindSafe for RegisterOrImmediate
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)