(mut v: u64)
| 94 | |
| 95 | impl From<u64> for InputEvent { |
| 96 | fn from(mut v: u64) -> Self { |
| 97 | let value = v as u32; |
| 98 | v >>= 32; |
| 99 | let code = v as u16; |
| 100 | v >>= 16; |
| 101 | let event_type = v as u16; |
| 102 | Self { |
| 103 | event_type, |
| 104 | code, |
| 105 | value, |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | impl InputEvent { |
nothing calls this directly
no outgoing calls
no test coverage detected