pub struct SourceRootCollector<'a> { /* private fields */ }Implementations§
Source§impl<'a> SourceRootCollector<'a>
impl<'a> SourceRootCollector<'a>
pub fn new(include_test_targets: bool, manifest_dir: &'a Path) -> Self
pub fn collect(&mut self, targets: &[Target])
pub fn process_target(&mut self, target: &Target)
pub fn finalize(self) -> Vec<PathBuf>
pub fn is_selected_target(target: &Target, include_test_targets: bool) -> bool
Auto Trait Implementations§
impl<'a> Freeze for SourceRootCollector<'a>
impl<'a> RefUnwindSafe for SourceRootCollector<'a>
impl<'a> Send for SourceRootCollector<'a>
impl<'a> Sync for SourceRootCollector<'a>
impl<'a> Unpin for SourceRootCollector<'a>
impl<'a> UnsafeUnpin for SourceRootCollector<'a>
impl<'a> UnwindSafe for SourceRootCollector<'a>
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