pub trait MachineFrame {
// Required methods
fn cursor(&self) -> CodeCursor;
fn set_cursor(&mut self, cursor: CodeCursor);
}Expand description
The cursor access needed by the neutral driver.
Consumers may use Frame or provide a distinct activation record.
Required Methods§
Sourcefn cursor(&self) -> CodeCursor
fn cursor(&self) -> CodeCursor
Returns the instruction to execute next.
Sourcefn set_cursor(&mut self, cursor: CodeCursor)
fn set_cursor(&mut self, cursor: CodeCursor)
Selects the next validated instruction boundary.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".