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

Method binary_names

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

Source from the content-addressed store, hash-verified

126 }
127
128 pub fn binary_names(&self) -> Vec<&str> {
129 self.packages
130 .iter()
131 .flat_map(|package| {
132 package
133 .binaries
134 .iter()
135 .map(|binary| binary.name.as_str())
136 .collect::<Vec<_>>()
137 })
138 .collect()
139 }
140
141 pub fn test_names(&self) -> Vec<&str> {
142 self.packages

Callers 1

mainFunction · 0.80

Calls 2

iterMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected