Skip to main content

StandardCommandMap

Trait StandardCommandMap 

Source
pub trait StandardCommandMap {
    // Required method
    fn to_standard_command(&self, output: JsonOutput) -> StandardCommand;
}
Expand description

Map crate-local metadata commands onto the shared StandardCommand surface.

Required Methods§

Source

fn to_standard_command(&self, output: JsonOutput) -> StandardCommand

Convert a local metadata command into a shared command.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§