Macro const_map

Source
macro_rules! const_map {
    ($option: expr => $function: expr) => { ... };
}
Expand description

Same as Option::map but for const contexts.