pub trait SourceLoader {
// Required method
fn load(
&mut self,
root: &Path,
item: &Item,
span: &dyn Spanned,
) -> Result<Source>;
}
Expand description
A source loader.
Required Methods§
Implementors§
impl SourceLoader for FileSourceLoader
Available on crate feature
std
only.