pub trait CallCheckingBehavior {
    const CHECK_PARAMETERS: bool;

    // Required methods
    fn get_latest_info<'a>(
        &'a mut self,
        environment: &'a mut Environment<'_>,
    ) -> &'a mut LocalInformation;
    fn in_recursive_cycle(&self, function_id: FunctionId) -> bool;
    fn new_function_context<T>(
        &mut self,
        function_id: FunctionId,
        cb: impl for<'a> FnOnce(&'a mut InvocationContext) -> T,
    ) -> T;

    // Provided method
    fn debug_types(&self) -> bool { ... }
}
Expand description

For anything that might involve a call, including gets, sets and actual calls

Required Associated Constants§

Required Methods§

source

fn get_latest_info<'a>( &'a mut self, environment: &'a mut Environment<'_>, ) -> &'a mut LocalInformation

source

fn in_recursive_cycle(&self, function_id: FunctionId) -> bool

source

fn new_function_context<T>( &mut self, function_id: FunctionId, cb: impl for<'a> FnOnce(&'a mut InvocationContext) -> T, ) -> T

Provided Methods§

source

fn debug_types(&self) -> bool

Object Safety§

This trait is not object safe.

Implementors§