Trait cmdstruct::Arg

source ·
pub trait Arg {
    // Required method
    fn append_arg(&self, command: &mut Command);

    // Provided method
    fn append_option(&self, name: &str, command: &mut Command) { ... }
}

Required Methods§

source

fn append_arg(&self, command: &mut Command)

Provided Methods§

source

fn append_option(&self, name: &str, command: &mut Command)

Implementations on Foreign Types§

source§

impl Arg for char

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for f32

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for f64

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for i8

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for i16

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for i32

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for i64

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for isize

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for u8

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for u16

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for u32

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for u64

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for usize

source§

fn append_arg(&self, command: &mut Command)

source§

impl Arg for String

source§

fn append_arg(&self, command: &mut Command)

source§

impl<T> Arg for Option<T>
where T: Arg,

source§

fn append_arg(&self, command: &mut Command)

source§

fn append_option(&self, name: &str, command: &mut Command)

Implementors§