Trait Buildable

Source
pub trait Buildable:
    Send
    + Sync
    + Debug {
    // Required method
    fn get_dependencies(
        &self,
        project: &Project,
    ) -> ProjectResult<HashSet<TaskId>>;
}
Expand description

The tasks that are required to be built by this project to make this object. If this is a task, the task is also included.

Required Methods§

Source

fn get_dependencies(&self, project: &Project) -> ProjectResult<HashSet<TaskId>>

Gets the dependencies required to build this task

Trait Implementations§

Source§

impl Buildable for Box<dyn Buildable + '_>

Source§

fn get_dependencies(&self, project: &Project) -> ProjectResult<HashSet<TaskId>>

Gets the dependencies required to build this task

Implementations on Foreign Types§

Source§

impl Buildable for &str

Source§

impl Buildable for Box<dyn Buildable + '_>

Source§

impl Buildable for Arc<dyn Buildable + '_>

Source§

impl<B: Buildable> Buildable for &B

Source§

impl<B: Buildable> Buildable for Vec<B>

Source§

impl<T: Send + Sync + Clone + Debug> Buildable for Option<T>

Source§

impl<T: Send + Sync + Clone + Debug, F: Send + FnOnce() -> T> Buildable for Lazy<T, F>

Implementors§

Source§

impl Buildable for BuildableObject

Source§

impl Buildable for Configuration

Source§

impl Buildable for ProjectDependency

Source§

impl Buildable for FileSet

Source§

impl Buildable for ConfigurableArtifact

Source§

impl Buildable for TaskId

Source§

impl Buildable for ResourceLocation

Source§

impl Buildable for TaskOrdering

Source§

impl Buildable for BuiltByContainer

Source§

impl<T, B, R, F> Buildable for Zip<T, B, R, F>
where B: Clone + Send + Sync, F: Fn(T, B) -> R + Send + Sync, R: Clone + Send + Sync, T: Clone + Send + Sync,

Source§

impl<T, F, R> Buildable for TaskProvider<T, R, F>
where F: Fn(&Executable<T>) -> R + Send + Sync, R: Clone + Send + Sync, T: 'static + Debug + Send + Task + Sync,

Source§

impl<T, R> Buildable for FnProvider<T, R>
where R: Into<Option<T>>, T: Clone + Send + Sync,

Source§

impl<T, R, F, P> Buildable for Map<T, R, F, P>
where F: Fn(T) -> R + Send + Sync, P: Provider<T>, R: Clone + Send + Sync, T: Clone + Send + Sync,

Source§

impl<T, R, PT, PR, F> Buildable for FlatMap<T, R, PT, PR, F>
where F: Fn(T) -> PR + Send + Sync, PR: Provider<R>, PT: Provider<T>, R: Clone + Send + Sync, T: Clone + Send + Sync,

Source§

impl<T: 'static + Send + Sync + Clone + Debug> Buildable for Prop<T>

Source§

impl<T: 'static + Send + Sync + Clone> Buildable for VecProp<T>

Source§

impl<T: Task + Send + Sync + Debug + 'static> Buildable for TaskHandle<T>

Source§

impl<T: Clone + Send + Sync> Buildable for AnonymousProvider<T>

Source§

impl<T: Send + Sync + Clone + Debug, E: Send + Sync + Debug> Buildable for Result<T, E>