Skip to main content

import_member_names

Function import_member_names 

Source
pub fn import_member_names(
    wn: &WitName<'_>,
    collisions: &HashSet<String>,
) -> (Ident, Ident)
Expand description

Return (type_name, getter_name) for an import instance.

Colliding interface names are emitted with their namespace-qualified name, plus the version suffix when present: wasi:http/types -> WasiHttpTypes / wasi_http_types.