CommandMetaVar

Type Alias CommandMetaVar 

Source
pub type CommandMetaVar<T> = Var<T>;
Expand description

Read-write command metadata variable.

This is a simple var for app scope, or a Var::cow for scoped commands. If you get this variable from an app scoped command it sets the value for all scopes. If you get this variable using a scoped command, it is a clone-on-write variable that overrides only the value for the scope.

Aliased Typeยง

pub struct CommandMetaVar<T> { /* private fields */ }