Enum commandspec::CommandArg[][src]

pub enum CommandArg {
    Empty,
    Literal(String),
    List(Vec<String>),
}

Variants

Trait Implementations

impl Display for CommandArg
[src]

Formats the value using the given formatter. Read more

impl<'a, 'b> From<&'a &'b str> for CommandArg
[src]

Performs the conversion.

impl From<String> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a String> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a str> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a u64> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a f64> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a i32> for CommandArg
[src]

Performs the conversion.

impl<'a> From<&'a i64> for CommandArg
[src]

Performs the conversion.

impl<'a, T> From<&'a [T]> for CommandArg where
    T: Display
[src]

Performs the conversion.

impl<'a, T> From<&'a Vec<T>> for CommandArg where
    T: Display
[src]

Performs the conversion.

impl<'a, T> From<&'a Option<T>> for CommandArg where
    T: Display
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for CommandArg

impl Sync for CommandArg