wasm_bindgen_backend::util

Function leading_colon_path_ty

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