Trait EvalCached

Source
pub trait EvalCached:
    Debug
    + Default
    + Send
    + Sync
    + 'static {
    const NAME: &str;
    const TYP: LazyLock<FnType>;

    // Required method
    fn eval(&mut self, from: &CachedVals) -> Option<Value>;
}

Required Associated Constants§

Required Methods§

Source

fn eval(&mut self, from: &CachedVals) -> Option<Value>

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.

Implementors§