Struct escargot::Cargo [−][src]
pub struct Cargo { /* fields omitted */ }
Top-level command.
Methods
impl Cargo
[src]
impl Cargo
pub fn new() -> Self
[src]
pub fn new() -> Self
Create a top-level command.
pub fn arg<S: AsRef<OsStr>>(self, arg: S) -> Self
[src]
pub fn arg<S: AsRef<OsStr>>(self, arg: S) -> Self
Manually pass an argument that is unsupported.
Caution: Passing in a sub-command or --
can throw off the API.
pub fn build(self) -> CargoBuild
[src]
pub fn build(self) -> CargoBuild
Run the build
subcommand.
pub fn test(self) -> CargoTest
[src]
pub fn test(self) -> CargoTest
Run the test
subcommand.
Trait Implementations
impl Debug for Cargo
[src]
impl Debug for Cargo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Cargo
[src]
impl Default for Cargo