pub struct SgxSetup {
pub base: Setup,
pub mode: Mode,
pub vpc: Vpc,
pub st_steers_in_compat: bool,
pub compat_at: Option<i64>,
pub rest: Vec<String>,
}Expand description
How a traced machine is built: the base board’s Setup and this add-on’s own arguments.
Fields§
§base: Setup§mode: Mode§vpc: Vpc§st_steers_in_compat: bool§compat_at: Option<i64>§rest: Vec<String>Arguments neither parser knows (a binary’s own).
Implementations§
Source§impl SgxSetup
impl SgxSetup
Sourcepub fn for_image(image: Vec<u8>) -> SgxSetup
pub fn for_image(image: Vec<u8>) -> SgxSetup
The reference’s defaults around a card image, in native position.
pub fn parse(args: &[String]) -> Result<SgxSetup, String>
Sourcepub fn before_frame(&self, system: &mut System)
pub fn before_frame(&self, system: &mut System)
Before a frame: hold the buttons of the presses, and move the switch if it is time.
Sourcepub fn run_frames(&self, system: &mut System, frames: i64) -> Vec<String>
pub fn run_frames(&self, system: &mut System, frames: i64) -> Vec<String>
Run frames frames; a line a frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SgxSetup
impl RefUnwindSafe for SgxSetup
impl Send for SgxSetup
impl Sync for SgxSetup
impl Unpin for SgxSetup
impl UnwindSafe for SgxSetup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more