pub struct EmulatorBuilder { /* private fields */ }
Expand description
Build a Emulator
struct
Implementations§
Source§impl EmulatorBuilder
impl EmulatorBuilder
pub fn new() -> Self
Sourcepub fn set_window_title<S: Into<String>>(self, title: S) -> Self
pub fn set_window_title<S: Into<String>>(self, title: S) -> Self
Set the window title
Sourcepub fn set_window_size(self, size: (u32, u32)) -> Self
pub fn set_window_size(self, size: (u32, u32)) -> Self
Set the window size
Sourcepub fn set_interpreter(self, interpreter: Box<dyn Interpreter>) -> Self
pub fn set_interpreter(self, interpreter: Box<dyn Interpreter>) -> Self
Set the interpreter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmulatorBuilder
impl !RefUnwindSafe for EmulatorBuilder
impl !Send for EmulatorBuilder
impl !Sync for EmulatorBuilder
impl Unpin for EmulatorBuilder
impl !UnwindSafe for EmulatorBuilder
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