Enum moa_m68k::instructions::RegOrImmediate
source · pub enum RegOrImmediate {
DReg(u8),
Immediate(u8),
}
Variants§
Trait Implementations§
source§impl Clone for RegOrImmediate
impl Clone for RegOrImmediate
source§fn clone(&self) -> RegOrImmediate
fn clone(&self) -> RegOrImmediate
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 RegOrImmediate
impl Debug for RegOrImmediate
source§impl Display for RegOrImmediate
impl Display for RegOrImmediate
source§impl PartialEq for RegOrImmediate
impl PartialEq for RegOrImmediate
source§fn eq(&self, other: &RegOrImmediate) -> bool
fn eq(&self, other: &RegOrImmediate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegOrImmediate
impl Eq for RegOrImmediate
impl StructuralPartialEq for RegOrImmediate
Auto Trait Implementations§
impl Freeze for RegOrImmediate
impl RefUnwindSafe for RegOrImmediate
impl Send for RegOrImmediate
impl Sync for RegOrImmediate
impl Unpin for RegOrImmediate
impl UnwindSafe for RegOrImmediate
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, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T