[−][src]Enum olympia_core::instructions::ByteRegisterTarget
A operand that can either target a 8-bit register (excluding F) or the memory address referenced by the HL register.
Variants
Trait Implementations
impl Clone for ByteRegisterTarget
[src]
fn clone(&self) -> ByteRegisterTarget
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ByteRegisterTarget
[src]
impl Debug for ByteRegisterTarget
[src]
impl Disassemble for ByteRegisterTarget
[src]
fn disassemble(&self) -> String
[src]
impl EmbeddableParam for ByteRegisterTarget
[src]
fn extract(value: u8) -> Result<ByteRegisterTarget, ParseError>
[src]
fn embed(&self) -> u8
[src]
fn extract_from_opcode(
opcode: u8,
pos: OpcodePosition
) -> Result<Self, ParseError>
[src]
opcode: u8,
pos: OpcodePosition
) -> Result<Self, ParseError>
fn embed_to_opcode(&self, opcode: u8, pos: OpcodePosition) -> u8
[src]
impl Eq for ByteRegisterTarget
[src]
impl PartialEq<ByteRegisterTarget> for ByteRegisterTarget
[src]
fn eq(&self, other: &ByteRegisterTarget) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ByteRegisterTarget
[src]
impl StructuralPartialEq for ByteRegisterTarget
[src]
impl TryFrom<ByteRegisterTarget> for ByteRegister
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(lookup: ByteRegisterTarget) -> Result<ByteRegister, ()>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,