Struct zen_expression::isolate::Isolate
source · pub struct Isolate<'a> { /* private fields */ }Implementations§
source§impl<'a> Isolate<'a>
impl<'a> Isolate<'a>
pub fn inject_env(&self, value: &Value)
pub fn set_reference(&self, reference: &'a str) -> Result<(), IsolateError>
pub fn get_reference(&self, reference: &str) -> Option<Value>
pub fn run_standard(&self, source: &'a str) -> Result<Value, IsolateError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Isolate<'a>
impl<'a> !Send for Isolate<'a>
impl<'a> !Sync for Isolate<'a>
impl<'a> Unpin for Isolate<'a>
impl<'a> !UnwindSafe for Isolate<'a>
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