pub struct ProjectDependency { /* private fields */ }Trait Implementations§
Source§impl Buildable for ProjectDependency
impl Buildable for ProjectDependency
Source§fn get_dependencies(&self, project: &Project) -> ProjectResult<HashSet<TaskId>>
fn get_dependencies(&self, project: &Project) -> ProjectResult<HashSet<TaskId>>
Gets the dependencies required to build this task
Source§impl Debug for ProjectDependency
impl Debug for ProjectDependency
Source§impl Dependency for ProjectDependency
impl Dependency for ProjectDependency
Source§fn dep_type(&self) -> DependencyType
fn dep_type(&self) -> DependencyType
The type of the dependency
Source§fn try_resolve(
&self,
_: &dyn Registry,
_: &Path,
) -> Result<ResolvedDependency, AcquisitionError>
fn try_resolve( &self, _: &dyn Registry, _: &Path, ) -> Result<ResolvedDependency, AcquisitionError>
Try to resolve a dependency in a registry. The
cache_path is somewhere to write files into
if necessary.Source§impl GetBuildable for ProjectDependency
impl GetBuildable for ProjectDependency
Source§fn as_buildable(&self) -> BuildableObject
fn as_buildable(&self) -> BuildableObject
Returns a dependency which contains the tasks which build this object.
Auto Trait Implementations§
impl Freeze for ProjectDependency
impl !RefUnwindSafe for ProjectDependency
impl Send for ProjectDependency
impl Sync for ProjectDependency
impl Unpin for ProjectDependency
impl UnsafeUnpin for ProjectDependency
impl !UnwindSafe for ProjectDependency
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
Source§impl<T> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<B> IntoBuildable for Bwhere
B: Buildable,
impl<B> IntoBuildable for Bwhere
B: Buildable,
Source§impl<D> IntoDependency for Dwhere
D: Dependency,
impl<D> IntoDependency for Dwhere
D: Dependency,
type IntoDep = D
Source§fn into_dependency(self) -> <D as IntoDependency>::IntoDep
fn into_dependency(self) -> <D as IntoDependency>::IntoDep
Turn this type into a dependency
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more