Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TyberiusPrime/KeyToKey
/ to_u32
Method
to_u32
src/key_codes.rs:216–219 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
214
}
215
216
pub const fn to_u32(self) -> u32 {
217
let u = self as u32;
218
return u as u32;
219
}
220
}
221
impl TryFrom<u8> for KeyCode {
222
type Error = String;
Callers
15
add_keypress
Method · 0.80
add_keyrelease
Method · 0.80
ascii_to_keycode
Function · 0.80
toggle_handler
Function · 0.80
dvorak
Function · 0.80
test_abort
Function · 0.80
is_private_keycode
Method · 0.80
new
Method · 0.80
new
Method · 0.80
test_layer_rewrite
Function · 0.80
test_layer_double_rewrite
Function · 0.80
test_layer_disable_in_the_middle
Function · 0.80
Calls
no outgoing calls
Tested by
11
test_abort
Function · 0.64
test_layer_rewrite
Function · 0.64
test_layer_double_rewrite
Function · 0.64
test_layer_disable_in_the_middle
Function · 0.64
test_layer_rewrite_unicode
Function · 0.64
test_sequence
Function · 0.64
test_sequence_unicode_trigger
Function · 0.64
test_sequence_private_trigger
Function · 0.64
test_sequence_mixed_trigger
Function · 0.64
test_dual_sequence
Function · 0.64
test_prefix_sequence
Function · 0.64