Macro create_symbols

Source
macro_rules! create_symbols {
    ($Ty:ident,
        $horizontal_bar:expr,
        $vertical_bar:expr,
        $right_branch:expr,
        $indent:expr,
        $left_upper_corner:expr,
        $left_bottom_corner:expr,
        $right_upper_corner:expr,
        $right_bottom_corner:expr,
        $missing_items_symbol:expr,
        $item_list_symbol:expr
    ) => { ... };
    ($Ty:ident, $sym:tt) => { ... };
}
Expand description

A macro for quick-and-dirty creation of Symbols implementations. Accepts either 10 different strings to use as symbols in the order they appear in the trait, or a single value to be used inside all methods.