pub struct ImportResolver { /* private fields */ }Expand description
Resolver for PreQL import dependencies
Implementations§
Source§impl ImportResolver
impl ImportResolver
pub fn new() -> Self
Sourcepub fn resolve(
&mut self,
root_path: &Path,
) -> Result<DependencyGraph, ResolveError>
pub fn resolve( &mut self, root_path: &Path, ) -> Result<DependencyGraph, ResolveError>
Resolve all dependencies starting from a root file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImportResolver
impl RefUnwindSafe for ImportResolver
impl Send for ImportResolver
impl Sync for ImportResolver
impl Unpin for ImportResolver
impl UnsafeUnpin for ImportResolver
impl UnwindSafe for ImportResolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more