map_to_boxed_trait

Macro map_to_boxed_trait 

Source
macro_rules! map_to_boxed_trait {
    ($parser:expr, $trait:ident) => { ... };
}
Expand description

Converts a parser that returns a T: SomeTrait to one that returns a Box.