MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / find_struct

Method find_struct

cel/src/env.rs:180–182  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

178 /// Finds a struct definition by name.
179 #[cfg(feature = "structs")]
180 pub(crate) fn find_struct(&self, name: &str) -> Option<&StructDef> {
181 self.structs.get(name)
182 }
183}
184
185/// A definition for a custom struct type.

Callers 1

resolve_valMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected