[][src]Struct rysk_core::variant::J

pub struct J<R: Register> {
    pub destination: usize,
    pub immediate: R,
}

A variation of the U instruction type where the immediate encodes a 21-bit jump offset. The least significant bit of the offset is zeroed as it must be aligned, thereby allowing a greater offset range.

Fields

destination: usizeimmediate: R

Trait Implementations

impl<R: Register> Variant for J<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for J<R> where
    R: RefUnwindSafe

impl<R> Send for J<R> where
    R: Send

impl<R> Sync for J<R> where
    R: Sync

impl<R> Unpin for J<R> where
    R: Unpin

impl<R> UnwindSafe for J<R> where
    R: UnwindSafe

Blanket Implementations

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

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

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

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 = Infallible

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.