pub struct Run { /* private fields */ }
Implementations
sourceimpl Run
impl Run
pub fn new(program: Vec<Token>) -> Self
pub fn run(
&mut self,
file: String,
mem: Option<(StackMemory, HashMemory)>,
repl: bool
) -> Result<(StackMemory, HashMemory), (StackMemory, HashMemory, Error)>
Auto Trait Implementations
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnwindSafe for Run
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more