Trait SourceManagerExt

Source
pub trait SourceManagerExt: SourceManager {
    // Provided method
    fn load_file(
        &self,
        path: &Path,
    ) -> Result<Arc<SourceFile>, SourceManagerError> { ... }
}

Provided Methods§

Source

fn load_file(&self, path: &Path) -> Result<Arc<SourceFile>, SourceManagerError>

Load the content of path into this SourceManager, using the given path as the source name.

Implementors§

Source§

impl<T> SourceManagerExt for T
where T: SourceManager + ?Sized,