SourceManagerExt

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

Implementors§

Source§

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

Available on crate feature std only.