pub enum Target {
Build(BuildTarget),
Service(ServiceTarget),
Aggregate(AggregateTarget),
}
Variants§
Implementations§
source§impl Target
impl Target
pub fn metadata(&self) -> &TargetMetadata
pub fn id(&self) -> &TargetId
pub fn dependencies(&self) -> &Vec<TargetId>
pub fn extend_dependencies(&mut self, additional_dependencies: &[TargetId])
pub fn input(&self) -> Option<&Resources>
pub fn output(&self) -> Option<&Resources>
pub fn extend_input(&mut self, resources: &Resources) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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