pub struct WorkspaceInputLoader { /* private fields */ }Implementations§
Source§impl WorkspaceInputLoader
impl WorkspaceInputLoader
pub fn new(workspace: impl Into<PathBuf>) -> Self
pub fn document_overrides(self, overrides: HashMap<PathBuf, String>) -> Self
Sourcepub fn scan_roots(self, roots: Vec<PathBuf>) -> Self
pub fn scan_roots(self, roots: Vec<PathBuf>) -> Self
Additional workspace roots to scan (multi-root), matching catalog scan_roots.
pub fn load(&self) -> Result<ReasonerInput>
Auto Trait Implementations§
impl Freeze for WorkspaceInputLoader
impl RefUnwindSafe for WorkspaceInputLoader
impl Send for WorkspaceInputLoader
impl Sync for WorkspaceInputLoader
impl Unpin for WorkspaceInputLoader
impl UnsafeUnpin for WorkspaceInputLoader
impl UnwindSafe for WorkspaceInputLoader
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