Skip to main content

ClientMode

Trait ClientMode 

Source
pub trait ClientMode<F, T, W> {
    // Required method
    fn inject_mode_args(
        &self,
        command: &mut Command,
        force: &F,
        template: &T,
        workspace_type: &W,
    );
}
Expand description

Injects the mode-specific arguments in syntax order, given the orthogonal option dimensions F (-f), T (-t), and W (-T).

Required Methods§

Source

fn inject_mode_args( &self, command: &mut Command, force: &F, template: &T, workspace_type: &W, )

Inject the mode flag(s) and the carried options into command.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§