MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / example_names

Method example_names

parser/src/def/workspace.rs:154–165  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

152 }
153
154 pub fn example_names(&self) -> Vec<&str> {
155 self.packages
156 .iter()
157 .flat_map(|package| {
158 package
159 .examples
160 .iter()
161 .map(|example| example.name.as_str())
162 .collect::<Vec<_>>()
163 })
164 .collect()
165 }
166}
167
168impl Package {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected