Skip to main content

target_value

Macro target_value 

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

Get the target value for a given enum.