pub trait IContextHelper: Sized {
// Required methods
fn ctx(&mut self) -> &mut ContextHelper;
fn ctx_ref(&self) -> &ContextHelper;
fn ctx_log(&self, msg: &str);
// Provided method
fn ctx_call(&mut self, _func: &str, _values: &Vec<Value>) -> Option<i32> { ... }
}
Required Methods§
fn ctx(&mut self) -> &mut ContextHelper
fn ctx_ref(&self) -> &ContextHelper
fn ctx_log(&self, msg: &str)
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.