Macro konst::unwrap_opt_or[][src]

macro_rules! unwrap_opt_or {
    ($e:expr, || $v:expr) => { ... };
    ($e:expr, |_| $v:expr) => { ... };
    ($e:expr, $v:expr) => { ... };
}
👎 Deprecated since 0.2.1:

Use konst::option::unwrap_or, or konst::option::unwrap_or_else instead

For unwrapping Options in const contexts, with a default value when it’s a None.