[][src]Macro grout::path

macro_rules! path {
    [] => { ... };
    [ @single _ ] => { ... };
    [ @single $first:tt ] => { ... };
    [ $($segment:tt) / * ] => { ... };
}

Create a Path with simplified syntax.

path![foo / _ / bar / _] // -> vec![Static("foo"), Dynamic, Static("bar"), Dynamic]