Skip to main content

impl_standard_command_map

Macro impl_standard_command_map 

Source
macro_rules! impl_standard_command_map {
    ($type:ty, global_json $(,)?) => { ... };
    ($type:ty, global_json, doctor $(,)?) => { ... };
    ($type:ty, global_json, doctor, update $(,)?) => { ... };
    ($type:ty, field_json $(,)?) => { ... };
    ($type:ty, fixed_json = $json:expr $(,)?) => { ... };
    ($type:ty, fixed_json = $json:expr, doctor $(,)?) => { ... };
    ($type:ty, fixed_json = $json:expr, doctor, update $(,)?) => { ... };
}
Expand description

Implement StandardCommandMap for a crate-local metadata enum that uses the workspace-standard variant names.