MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / get_field_instance

Method get_field_instance

src/ldtk.rs:199–201  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

197
198impl EntityInstance {
199 pub fn get_field_instance(&self, id: &str) -> Option<&FieldInstance> {
200 self.field_instances.iter().find(|x| x.identifier == id)
201 }
202}
203
204#[derive(Clone, Debug, Deserialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected