[][src]Struct command_builder::Single

pub struct Single(_);

Holds a single command to be run.

Implementations

impl Single[src]

pub fn new(command: &str) -> Self[src]

Creates a new Command which can be run in the shell.

pub fn a(self, argument: &str) -> Self[src]

Adds an argument to the command.

pub fn args(self, arguments: &[&str]) -> Self[src]

Adds multiple arguments.

Trait Implementations

impl Clone for Single[src]

impl Command for Single[src]

impl Debug for Single[src]

impl Eq for Single[src]

impl PartialEq<Single> for Single[src]

impl StructuralEq for Single[src]

impl StructuralPartialEq for Single[src]

Auto Trait Implementations

impl RefUnwindSafe for Single

impl Send for Single

impl Sync for Single

impl Unpin for Single

impl UnwindSafe for Single

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.