Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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> {
Callers
1
parse_input_map_toml_reads_key_mouse_gamepad_and_joycon
Function · 0.80
Calls
2
action_hash
Function · 0.85
action_by_hash
Method · 0.80
Tested by
1
parse_input_map_toml_reads_key_mouse_gamepad_and_joycon
Function · 0.64