Skip to main content

with_interpreter

Function with_interpreter 

Source
pub fn with_interpreter<F, R>(f: F) -> R
where F: FnOnce(&Interpreter) -> R,
Expand description

Access the thread-local interpreter. Safe for nested/re-entrant calls because all methods take &self (shared borrows are re-entrant).