Skip to main content

NewDefaultV

Macro NewDefaultV 

Source
macro_rules! NewDefaultV {
    ($name:ident, $($key:ident => $value:expr_2021),*) => { ... };
}
Expand description

Just like NewDefault, but adds a mandatory .into_option() to all values