pub struct Machine { /* private fields */ }
Implementations§
Source§impl Machine
impl Machine
pub fn new() -> Self
pub fn set_stream(&mut self, input: &str)
pub fn get_stream(&self) -> Option<String>
pub fn clear_stream(&mut self)
pub fn push_code(&mut self, code: &[u8])
pub fn execute(&mut self)
pub fn execute_code(&mut self, code: Vec<u8>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Machine
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnwindSafe for Machine
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