Skip to main content

ToArgs

Trait ToArgs 

Source
pub trait ToArgs {
    // Required method
    fn to_args(&self) -> Vec<String>;
}
Expand description

An implementor can convert itself into a list of command-line arguments

Required Methods§

Source

fn to_args(&self) -> Vec<String>

Convert this implementor into a list of command-line arguments

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§