pub struct TaskTarget {
pub files: Vec<PathBuf>,
pub scope: TaskScope,
}Expand description
Target for a task
This struct specifies which files and what scope a task should operate on.
Fields§
§files: Vec<PathBuf>Files to target
scope: TaskScopeScope of the task
Trait Implementations§
Source§impl Clone for TaskTarget
impl Clone for TaskTarget
Source§fn clone(&self) -> TaskTarget
fn clone(&self) -> TaskTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskTarget
impl Debug for TaskTarget
Source§impl<'de> Deserialize<'de> for TaskTarget
impl<'de> Deserialize<'de> for TaskTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskTarget
impl RefUnwindSafe for TaskTarget
impl Send for TaskTarget
impl Sync for TaskTarget
impl Unpin for TaskTarget
impl UnwindSafe for TaskTarget
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