pub fn seam(
cat: &PluginApiCatalog,
iface: &ApiInterface,
level: usize,
) -> StringExpand description
One seam’s full reference, its title at heading level level (1 for a
page of its own, 2 inside the single document).
Order: what it is (direction, capability, worlds), its prose, the types it borrows, its functions, its resources with their methods, then the types it defines in WIT source order. Functions come before types because a reader arrives asking “what can I call”; the types answer the follow-up question.