MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / docs

Method docs

crates/markdown/src/lib.rs:440–449  ·  view source on GitHub ↗
(&mut self, docs: &Docs)

Source from the content-addressed store, hash-verified

438 }
439
440 fn docs(&mut self, docs: &Docs) {
441 let docs = match &docs.contents {
442 Some(docs) => docs,
443 None => "\n",
444 };
445 for line in docs.lines() {
446 self.push_str(line.trim());
447 self.push_str("\n");
448 }
449 }
450
451 fn print_type_header(&mut self, type_: &str, name: &str) {
452 if !self.types_header_printed {

Callers 12

preprocessMethod · 0.45
import_interfaceMethod · 0.45
funcMethod · 0.45
type_recordMethod · 0.45
type_resourceMethod · 0.45
type_tupleMethod · 0.45
type_flagsMethod · 0.45
type_variantMethod · 0.45
type_enumMethod · 0.45
type_optionMethod · 0.45
type_resultMethod · 0.45
type_aliasMethod · 0.45

Calls 1

push_strMethod · 0.45

Tested by

no test coverage detected