pub struct FunctionContext<'env> { /* private fields */ }
Implementations
sourceimpl<'env> FunctionContext<'env>
impl<'env> FunctionContext<'env>
pub fn new(
holder: &'env FunctionTargetsHolder,
target: FunctionTarget<'env>,
ty_args: Vec<BaseType>,
skip_specs: bool,
level: usize
) -> Self
sourcepub fn get_settings(&self) -> Rc<InterpreterSettings>
pub fn get_settings(&self) -> Rc<InterpreterSettings>
Retrieve the InterpreterSettings
from the global environment
sourcepub fn exec_user_function(
&self,
typed_args: Vec<TypedValue>,
global_state: &mut GlobalState,
eval_state: &mut EvalState
) -> ExecResult<LocalState>
pub fn exec_user_function(
&self,
typed_args: Vec<TypedValue>,
global_state: &mut GlobalState,
eval_state: &mut EvalState
) -> ExecResult<LocalState>
Execute a user function with value arguments.
Auto Trait Implementations
impl<'env> !RefUnwindSafe for FunctionContext<'env>
impl<'env> !Send for FunctionContext<'env>
impl<'env> !Sync for FunctionContext<'env>
impl<'env> Unpin for FunctionContext<'env>
impl<'env> !UnwindSafe for FunctionContext<'env>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more