macro_rules! target_value {
    ($name:ident $variant:ident $value:expr) => { ... };
    ($name:ident $variant:ident) => { ... };
}
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

Get the target value for a given enum.