pub enum AnyDestination {
Register1(Register1),
AbsoluteStack(AbsoluteStack),
RelativeStack(RelativeStack),
AdvanceStackPointer(AdvanceStackPointer),
}
Expand description
All supported addressing modes for the first destination argument.
Variants§
Register1(Register1)
Register mode.
AbsoluteStack(AbsoluteStack)
Absolute stack addressing.
RelativeStack(RelativeStack)
Relative stack addressing.
AdvanceStackPointer(AdvanceStackPointer)
Relative stack addressing that updates the stack pointer on access.
Trait Implementations§
source§impl Clone for AnyDestination
impl Clone for AnyDestination
source§fn clone(&self) -> AnyDestination
fn clone(&self) -> AnyDestination
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 AnyDestination
impl Debug for AnyDestination
source§impl From<AbsoluteStack> for AnyDestination
impl From<AbsoluteStack> for AnyDestination
source§fn from(v: AbsoluteStack) -> AnyDestination
fn from(v: AbsoluteStack) -> AnyDestination
Converts to this type from the input type.
source§impl From<AdvanceStackPointer> for AnyDestination
impl From<AdvanceStackPointer> for AnyDestination
source§fn from(v: AdvanceStackPointer) -> AnyDestination
fn from(v: AdvanceStackPointer) -> AnyDestination
Converts to this type from the input type.
source§impl From<Register1> for AnyDestination
impl From<Register1> for AnyDestination
source§fn from(v: Register1) -> AnyDestination
fn from(v: Register1) -> AnyDestination
Converts to this type from the input type.
source§impl From<RelativeStack> for AnyDestination
impl From<RelativeStack> for AnyDestination
source§fn from(v: RelativeStack) -> AnyDestination
fn from(v: RelativeStack) -> AnyDestination
Converts to this type from the input type.
source§impl TryInto<AbsoluteStack> for AnyDestination
impl TryInto<AbsoluteStack> for AnyDestination
source§impl TryInto<AdvanceStackPointer> for AnyDestination
impl TryInto<AdvanceStackPointer> for AnyDestination
source§impl TryInto<Register1> for AnyDestination
impl TryInto<Register1> for AnyDestination
source§impl TryInto<RelativeStack> for AnyDestination
impl TryInto<RelativeStack> for AnyDestination
impl Copy for AnyDestination
Auto Trait Implementations§
impl Freeze for AnyDestination
impl RefUnwindSafe for AnyDestination
impl Send for AnyDestination
impl Sync for AnyDestination
impl Unpin for AnyDestination
impl UnwindSafe for AnyDestination
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
)