pub fn simple_path_ty<I>(segments: I) -> Typewhere
I: IntoIterator<Item = Ident>,
Expand description
Create a path type from the given segments. For example an iterator yielding
the idents [foo, bar, baz]
will result in the path type foo::bar::baz
.