[−][src]Struct lc3tools_sys::root::lc3::core::Simulator
Fields
decoder: InstructionDecoder
state: MachineState
logger: Logger
inputter: *mut IInputter
threaded_input: bool
collecting_input: atomic<bool>
Implementations
impl Simulator
[src]
pub unsafe fn loadObj(&mut self, buffer: *mut istream)
[src]
pub unsafe fn simulate(&mut self)
[src]
pub unsafe fn enableClock(&mut self)
[src]
pub unsafe fn disableClock(&mut self)
[src]
pub unsafe fn isClockEnabled(&self) -> bool
[src]
pub unsafe fn reinitialize(&mut self)
[src]
pub unsafe fn registerPreInstructionCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerPostInstructionCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerInterruptEnterCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerInterruptExitCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerExceptionEnterCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerExceptionExitCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerSubEnterCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerSubExitCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn registerWaitForInputCallback(&mut self, func: callback_func_t)
[src]
pub unsafe fn setIgnorePrivilege(&mut self, ignore: bool)
[src]
pub unsafe fn new(
simulator: *mut sim,
printer: *mut IPrinter,
inputter: *mut IInputter,
print_level: u32,
threaded_input: bool
) -> Self
[src]
simulator: *mut sim,
printer: *mut IPrinter,
inputter: *mut IInputter,
print_level: u32,
threaded_input: bool
) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Simulator
impl !Send for Simulator
impl !Sync for Simulator
impl Unpin for Simulator
impl !UnwindSafe for Simulator
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, 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>,