1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
macro_rules! impl_froms { ($e:ident: $($v:ident), *) => { $( impl From<$v> for $e { fn from(it: $v) -> $e { $e::$v(it) } } )* } } pub mod tt; pub mod mbe; mod tt_cursor; mod mbe_parser; mod mbe_expander;