Struct koto_bytecode::Loader [−][src]
pub struct Loader { /* fields omitted */ }Expand description
Helper for loading, compiling, and caching Koto modules
Implementations
pub fn compile_script(
&mut self,
script: &str,
script_path: &Option<PathBuf>
) -> Result<Arc<Chunk>, LoaderError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Loader
impl UnwindSafe for Loader
Blanket Implementations
Mutably borrows from an owned value. Read more