MCPcopy Create free account
hub / github.com/PerroEngine/Perro / docs_pages

Function docs_pages

perro_website/src/docs.rs:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35pub fn docs() -> &'static [DocPage] {
36 DOCS.as_slice()
37}
38
39pub fn docs_pages() -> Vec<&'static DocPage> {
40 docs()
41 .iter()
42 .filter(|doc| doc.collection == "docs")
43 .collect()
44}

Calls 2

docsFunction · 0.85
iterMethod · 0.45

Tested by 1