pub struct CTEnv {
pub cargo_path: PathBuf,
pub cargo_task_path: PathBuf,
pub cargo_task_target: PathBuf,
pub work_dir: PathBuf,
pub task_list: Vec<String>,
pub arg_list: Vec<String>,
pub tasks: BTreeMap<String, CTTaskMeta>,
}Expand description
Cargo-task environment info struct.
Fields§
§cargo_path: PathBufThe path to the cargo binary.
cargo_task_path: PathBufThe .cargo-task directory.
cargo_task_target: PathBufThe targe dir for cargo-task builds.
work_dir: PathBufThe root of the cargo task execution environment.
task_list: Vec<String>Task list specified by user.
arg_list: Vec<String>Additional arguments specified by user.
tasks: BTreeMap<String, CTTaskMeta>All tasks defined in the task directory.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CTEnv
impl RefUnwindSafe for CTEnv
impl Send for CTEnv
impl Sync for CTEnv
impl Unpin for CTEnv
impl UnwindSafe for CTEnv
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