pub struct DependencyAnalyzer { /* private fields */ }
Expand description
Library dependency analyzer
Implementations§
Source§impl DependencyAnalyzer
impl DependencyAnalyzer
Sourcepub fn new(root: PathBuf) -> DependencyAnalyzer
pub fn new(root: PathBuf) -> DependencyAnalyzer
Create a new dependency analyzer.
Sourcepub fn add_library_path(self, path: PathBuf) -> Self
pub fn add_library_path(self, path: PathBuf) -> Self
Add additional library path
Additional library paths are treated as absolute paths,
not relative to root
Sourcepub fn library_paths(self, paths: Vec<PathBuf>) -> Self
pub fn library_paths(self, paths: Vec<PathBuf>) -> Self
Set additional library paths
Additional library paths are treated as absolute paths,
not relative to root
Trait Implementations§
Source§impl Clone for DependencyAnalyzer
impl Clone for DependencyAnalyzer
Source§fn clone(&self) -> DependencyAnalyzer
fn clone(&self) -> DependencyAnalyzer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DependencyAnalyzer
impl Debug for DependencyAnalyzer
Auto Trait Implementations§
impl Freeze for DependencyAnalyzer
impl RefUnwindSafe for DependencyAnalyzer
impl Send for DependencyAnalyzer
impl Sync for DependencyAnalyzer
impl Unpin for DependencyAnalyzer
impl UnwindSafe for DependencyAnalyzer
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