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

Method get_layer

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

Source from the content-addressed store, hash-verified

84
85impl Level {
86 pub fn get_layer(&self, id: &str) -> Option<&LayerInstance> {
87 self.layer_instances.iter().find(|l| l.identifier == id)
88 }
89}
90
91#[derive(Clone, Debug, Deserialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected