Trait starlark::eval::FileLoader

source ·
pub trait FileLoader: Clone {
    fn load(&self, path: &str) -> Result<Environment, EvalException>;
}
Expand description

A trait for loading file using the load statement path.

Required Methods§

Open the file given by the load statement path.

Implementations on Foreign Types§

Implementors§