pub trait SourceManagerExt: SourceManager {
// Provided method
fn load_file(
&self,
path: &Path,
) -> Result<Arc<SourceFile>, SourceManagerError> { ... }
}
Provided Methods§
Sourcefn load_file(&self, path: &Path) -> Result<Arc<SourceFile>, SourceManagerError>
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.