MCPcopy 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}
221impl TryFrom<u8> for KeyCode {
222 type Error = String;

Callers 15

add_keypressMethod · 0.80
add_keyreleaseMethod · 0.80
ascii_to_keycodeFunction · 0.80
toggle_handlerFunction · 0.80
dvorakFunction · 0.80
test_abortFunction · 0.80
is_private_keycodeMethod · 0.80
newMethod · 0.80
newMethod · 0.80
test_layer_rewriteFunction · 0.80

Calls

no outgoing calls

Tested by 11

test_abortFunction · 0.64
test_layer_rewriteFunction · 0.64
test_sequenceFunction · 0.64
test_dual_sequenceFunction · 0.64
test_prefix_sequenceFunction · 0.64