Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ as_index
Method
as_index
perro_source/api_modules/perro_input_api/src/joycon.rs:52–54 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
50
51
#[inline]
52
pub fn as_index(self) -> usize {
53
self as usize
54
}
55
56
#[inline]
57
pub fn from_name(name: &str) -> Option<Self> {
Callers
10
set_key_state
Method · 0.45
test
Method · 0.45
set_button_state
Method · 0.45
test
Method · 0.45
actions_for_key
Method · 0.45
actions_for_gamepad
Method · 0.45
actions_for_joycon
Method · 0.45
rebuild_indexes
Method · 0.45
apply_buttons
Function · 0.45
set_button_bit
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected