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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".