pub trait Var: Debug {
fn name(&self) -> &'static str;
fn value(&self) -> String;
fn description(&self) -> &'static str;
fn type_name(&self) -> &'static str;
fn experimental(&self) -> bool { ... }
}
Expand description
A Var
represents a configuration parameter of an arbitrary type.
Required methods
Constructs a string representation of the current value of the configuration parameter.
fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a short sentence describing the purpose of the configuration parameter.