# Trait cargo_test_support::ArgLine

source ·

    pub trait ArgLine: Sized {
        // Required method
        fn arg<S: AsRef<OsStr>>(self, s: S) -> Self;

        // Provided method
        fn arg_line(self, s: &str) -> Self { ... }
    }

Expand description

Add a list of arguments as a line

## Required Methods§

source

#### fn arg<S: AsRef<OsStr>>(self, s: S) -> Self

## Provided Methods§

source

#### fn arg_line(self, s: &str) -> Self

## Object Safety§

This trait is not object safe.

## Implementations on Foreign Types§

source§

### impl ArgLine for &mut ProcessBuilder

source§

#### fn arg<S: AsRef<OsStr>>(self, s: S) -> Self

source§

### impl ArgLine for Command

source§

#### fn arg<S: AsRef<OsStr>>(self, s: S) -> Self

## Implementors§