pub fn leading_colon_path_ty<I>(segments: I) -> Typewhere
I: IntoIterator<Item = Ident>,
Expand description
Create a global 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
.