MCPcopy Create free account
hub / github.com/PerroEngine/Perro / action

Method action

perro_source/api_modules/perro_input_api/src/input_map.rs:58–60  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

56
57 #[inline]
58 pub fn action(&self, name: &str) -> Option<&InputAction> {
59 self.action_by_hash(action_hash(name))
60 }
61
62 #[inline]
63 pub fn action_by_hash(&self, name_hash: u64) -> Option<&InputAction> {

Calls 2

action_hashFunction · 0.85
action_by_hashMethod · 0.80