[][src]Struct ch8_isa::data::JmpData

pub struct JmpData { /* fields omitted */ }

Contextual data for the JMP instruction

Methods

impl JmpData[src]

pub fn new(new_addr: u16) -> JmpData[src]

Creates a new JmpData instance

Argument

  • new_addr - The address to jump to

Returns

A new JmpData instance with the given address

pub fn get_addr(&self) -> u16[src]

Gets the address to jump to

Returns

The address value of the data

Auto Trait Implementations

impl Send for JmpData

impl Sync for JmpData

impl Unpin for JmpData

impl UnwindSafe for JmpData

impl RefUnwindSafe for JmpData

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]