MCPcopy Create free account
hub / github.com/hashintel/hash / find

Method find

libs/@local/hashql/core/src/module/std_lib/mod.rs:114–116  ·  view source on GitHub ↗
(&self, name: Symbol<'heap>)

Source from the content-addressed store, hash-verified

112 }
113
114 fn find(&self, name: Symbol<'heap>) -> Option<ModuleEntry<'heap>> {
115 self.0.iter().find(|item| item.name == name).copied()
116 }
117
118 #[track_caller]
119 fn expect(&self, name: Symbol<'heap>) -> ModuleEntry<'heap> {

Callers 6

instantiateMethod · 0.45
resolve_singleMethod · 0.45
resolve_implMethod · 0.45
resolve_import_singleMethod · 0.45
resolve_import_multiMethod · 0.45
expectMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected