[][src]Function wasm_bindgen_backend::util::leading_colon_path_ty

pub fn leading_colon_path_ty<I>(segments: I) -> Type where
    I: IntoIterator<Item = Ident>, 

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.