Skip to main content

SourceLoader

Trait SourceLoader 

Source
pub trait SourceLoader {
    // Required method
    fn load(&self, path: &Path) -> Result<Source>;
}

Required Methods§

Source

fn load(&self, path: &Path) -> Result<Source>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§