[][src]Struct rysk_core::variant::S

pub struct S<R: Register> {
    pub source1: usize,
    pub source2: usize,
    pub immediate: R,
}

The S instruction type, encoding 2 source registers and a 12-bit sign extended immediate value.

Fields

source1: usizesource2: usizeimmediate: R

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

impl<R> UnwindSafe for S<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.