[−][src]Struct olympia_core::address::AddressOffset
Represents an address that is offset from the program counter
Methods
impl AddressOffset
[src]
pub fn resolve(self, base: LiteralAddress) -> OffsetResolveResult
[src]
Returns new address, half carry and carry flags
base is the address to offset from, which in the gameboy instruction set is based on the PC or SP register, depending on the instruction
Trait Implementations
impl Clone for AddressOffset
[src]
fn clone(&self) -> AddressOffset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AddressOffset
[src]
impl Debug for AddressOffset
[src]
impl Eq for AddressOffset
[src]
impl From<u8> for AddressOffset
[src]
impl PartialEq<AddressOffset> for AddressOffset
[src]
fn eq(&self, other: &AddressOffset) -> bool
[src]
fn ne(&self, other: &AddressOffset) -> bool
[src]
impl StructuralEq for AddressOffset
[src]
impl StructuralPartialEq for AddressOffset
[src]
Auto Trait Implementations
impl RefUnwindSafe for AddressOffset
impl Send for AddressOffset
impl Sync for AddressOffset
impl Unpin for AddressOffset
impl UnwindSafe for AddressOffset
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>,