Macro egg::multi_rewrite
source · macro_rules! multi_rewrite { ( $name:expr; $lhs:tt => $rhs:tt ) => { ... }; }
Expand description
A macro to easily make Rewrite
s using MultiPattern
s.
Similar to the rewrite!
macro,
this macro uses the form multi_rewrite!(name; multipattern => multipattern)
.
String literals will be parsed a MultiPattern
s.