[][src]Struct lc3tools_sys::root::lc3::core::IInstruction

#[repr(C)]pub struct IInstruction {
    pub vtable_: *const IInstruction__bindgen_vtable,
    pub name: string,
    pub operands: vector,
}

Fields

vtable_: *const IInstruction__bindgen_vtablename: stringoperands: vector

Implementations

impl IInstruction[src]

pub unsafe fn getNumOperands(&self) -> u32[src]

pub unsafe fn assignOperands(&mut self, encoded_inst: u32)[src]

pub unsafe fn toFormatString(&self) -> string[src]

pub unsafe fn toValueString(&self) -> string[src]

pub unsafe fn buildSysCallEnterHelper(
    state: *const MachineState,
    vector_id: u32,
    call_type: MachineState_SysCallType,
    computeNewPSRValue: [u64; 4]
) -> vector
[src]

pub unsafe fn buildSysCallExitHelper(
    state: *const MachineState,
    call_type: MachineState_SysCallType
) -> vector
[src]

pub unsafe fn new(name: *const string, operands: *const vector) -> Self[src]

pub unsafe fn new1(that: *const IInstruction) -> Self[src]

Trait Implementations

impl Default for IInstruction[src]

Auto Trait Implementations

impl !RefUnwindSafe for IInstruction

impl !Send for IInstruction

impl !Sync for IInstruction

impl Unpin for IInstruction

impl UnwindSafe for IInstruction

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.