macro_rules! match_some_exec {
($opt:expr,$exec:expr) => { ... };
}Expand description
match Option
if is Some, will be return value
if is Nome, will be return custom value
macro_rules! match_some_exec {
($opt:expr,$exec:expr) => { ... };
}match Option
if is Some, will be return value
if is Nome, will be return custom value