CommandArg

Trait CommandArg 

Source
pub trait CommandArg {
    // Required method
    fn display_help() -> Vec<&'static str>;
}

Required Methods§

Source

fn display_help() -> Vec<&'static str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CommandArg for f32

Source§

fn display_help() -> Vec<&'static str>

Source§

impl CommandArg for i32

Source§

fn display_help() -> Vec<&'static str>

Source§

impl CommandArg for i64

Source§

fn display_help() -> Vec<&'static str>

Source§

impl CommandArg for ()

Source§

fn display_help() -> Vec<&'static str>

Source§

impl CommandArg for String

Source§

fn display_help() -> Vec<&'static str>

Source§

impl CommandArg for Uuid

Source§

fn display_help() -> Vec<&'static str>

Source§

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

Source§

fn display_help() -> Vec<&'static str>

Implementors§