pub trait IntoCommand {
// Required method
fn into_command(self) -> Option<Command>;
}Expand description
What cx.process and cx.exec_detached run: a Command, or the
program and its arguments as a list, such as ["sleep", "30"], as
Quickshell’s command is.
Required Methods§
Sourcefn into_command(self) -> Option<Command>
fn into_command(self) -> Option<Command>
The command, or None for an empty list.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".