pub fn simple_path_ty<I>(segments: I) -> Type where
    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.