Struct cargo::ops::CommandPrototype
[−]
[src]
pub struct CommandPrototype {
// some fields omitted
}Prototype for a command that must be executed.
pub struct CommandPrototype {
// some fields omitted
}Prototype for a command that must be executed.
impl CommandPrototypefn new(ty: CommandType, config: &Config) -> CargoResult<CommandPrototype>fn get_type(&self) -> &CommandTypefn arg<T: AsRef<OsStr>>(&mut self, arg: T) -> &mut CommandPrototypefn args<T: AsRef<OsStr>>(&mut self, arguments: &[T]) -> &mut CommandPrototypefn cwd<T: AsRef<OsStr>>(&mut self, path: T) -> &mut CommandPrototypefn env<T: AsRef<OsStr>>(&mut self, key: &str, val: T) -> &mut CommandPrototypefn get_args(&self) -> &[OsString]fn get_cwd(&self) -> Option<&Path>fn get_env(&self, var: &str) -> Option<OsString>fn get_envs(&self) -> &HashMap<String, Option<OsString>>fn into_process_builder(self) -> ProcessBuilderimpl Display for CommandPrototypeimpl Clone for CommandPrototypefn clone(&self) -> CommandPrototypefn clone_from(&mut self, source: &Self)