Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ action_hash
Function
action_hash
perro_source/api_modules/perro_input_api/src/input_map.rs:6–8 ·
view source on GitHub ↗
(name: &str)
Source
from the content-addressed store, hash-verified
4
};
5
6
pub const fn action_hash(name: &str) -> u64 {
7
perro_ids::string_to_u64(name)
8
}
9
10
#[derive(Clone, Debug, PartialEq, Eq)]
11
pub struct InputMap {
Callers
9
down
Method · 0.85
pressed
Method · 0.85
released
Method · 0.85
from_actions
Method · 0.85
action
Method · 0.85
down
Method · 0.85
pressed
Method · 0.85
released
Method · 0.85
new
Method · 0.85
Calls
1
string_to_u64
Function · 0.85
Tested by
no test coverage detected