Fix more Windows crate 0.58 API changes

- GetDesc now returns value instead of mutable param
- CPUAccessFlags is u32, not flag wrapper
- SetEvictionPriority takes enum directly
- Fix encode_utf16 iteration
- Rename display variable to avoid tracing conflict
- Fix borrow issue in websocket receive
This commit is contained in:
AZ Computer Guru
2025-12-28 12:41:51 -07:00
parent 582387f60e
commit b1de7be632
4 changed files with 15 additions and 14 deletions

View File

@@ -85,7 +85,7 @@ impl KeyboardController {
let encoded = ch.encode_utf16(&mut buf);
// For characters that fit in a single u16
for &code_unit in encoded {
for &code_unit in encoded.iter() {
// Key down
inputs.push(INPUT {
r#type: INPUT_KEYBOARD,