MCPcopy 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
6pub const fn action_hash(name: &str) -> u64 {
7 perro_ids::string_to_u64(name)
8}
9
10#[derive(Clone, Debug, PartialEq, Eq)]
11pub struct InputMap {

Callers 9

downMethod · 0.85
pressedMethod · 0.85
releasedMethod · 0.85
from_actionsMethod · 0.85
actionMethod · 0.85
downMethod · 0.85
pressedMethod · 0.85
releasedMethod · 0.85
newMethod · 0.85

Calls 1

string_to_u64Function · 0.85

Tested by

no test coverage detected