pub struct GradleProjectFinder { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for GradleProjectFinder
impl Debug for GradleProjectFinder
Source§impl Default for GradleProjectFinder
impl Default for GradleProjectFinder
Source§fn default() -> GradleProjectFinder
fn default() -> GradleProjectFinder
Returns the “default value” for a type. Read more
Source§impl ProjectFinder for GradleProjectFinder
impl ProjectFinder for GradleProjectFinder
fn projects(&self) -> Vec<&Project>
fn projects_mut(&mut self) -> Vec<&mut Project>
Source§fn project_count(&self) -> usize
fn project_count(&self) -> usize
Number of projects held by this finder. Read more
Source§fn extend_projects<'a>(&'a self, out: &mut Vec<&'a Project>)
fn extend_projects<'a>(&'a self, out: &mut Vec<&'a Project>)
Append every project held by this finder onto
out. Read moreSource§fn extend_projects_mut<'a>(&'a mut self, out: &mut Vec<&'a mut Project>)
fn extend_projects_mut<'a>(&'a mut self, out: &mut Vec<&'a mut Project>)
Mutable counterpart of
ProjectFinder::extend_projects: append every
project held by this finder onto out as &mut Project. Read moreSource§fn contains_project(&self, path: &Path) -> bool
fn contains_project(&self, path: &Path) -> bool
Whether a project keyed by exactly
path has already been discovered
by this finder. Read moreSource§fn project_files(&self) -> &[&str]
fn project_files(&self) -> &[&str]
The manifest patterns this finder claims, in one of TWO forms. Read more
Source§fn visit<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
path: &'life1 Path,
relative_path: &'life2 Path,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn visit<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
path: &'life1 Path,
relative_path: &'life2 Path,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Errors Read more
Source§fn should_visit_manifest<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
fn should_visit_manifest<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
Source§fn matches_project_file<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
fn matches_project_file<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
Whether
path is a project manifest file recognized by this finder. Read moreSource§fn finalize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Send + 'async_trait,
fn finalize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Send + 'async_trait,
Post-visit processing hook for resolving deferred state (e.g., workspace-inherited versions).
Called once after all
visit() calls complete. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for GradleProjectFinder
impl !UnwindSafe for GradleProjectFinder
impl Freeze for GradleProjectFinder
impl Send for GradleProjectFinder
impl Sync for GradleProjectFinder
impl Unpin for GradleProjectFinder
impl UnsafeUnpin for GradleProjectFinder
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