Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TyberiusPrime/KeyToKey
/ to_u8
Method
to_u8
src/key_codes.rs:211–214 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
209
}
210
}
211
pub fn to_u8(self) -> u8 {
212
let u = (self as u32) - UNICODE_BELOW_256;
213
return u as u8;
214
}
215
216
pub const fn to_u32(self) -> u32 {
217
let u = self as u32;
Callers
4
send_keys
Method · 0.80
register_key
Method · 0.80
check_output
Function · 0.80
as_modifier_bit
Method · 0.80
Calls
no outgoing calls
Tested by
3
send_keys
Method · 0.64
register_key
Method · 0.64
check_output
Function · 0.64