winit/src/platform_impl/apple/appkit
Mads Marquart 16d5f46db1
utils: add cast_* methods to allow more type-safe casting
Relying on just `as_any` was error prone and will become redundant in
the future, once upcasting will be stable, we also won't to impose a
restriction on to which concrete type we're casting, since casting
to a type that doesn't implement a base trait doesn't make much
sense.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2025-03-11 16:35:25 +03:00
..
app.rs Swizzle sendEvent: instead of subclassing NSApplication (#4036) 2025-02-24 10:38:10 +01:00
app_state.rs apple: Implement wake-ups using system mechanisms (#4146) 2025-03-01 20:18:28 +01:00
cursor.rs Update to objc2 v0.6 (#4092) 2025-01-28 21:31:14 +01:00
event.rs macOS: Parse more key codes into named keys (#4148) 2025-03-01 12:41:46 +01:00
event_loop.rs monitor: refactor MonitorHandle to store dyn object 2025-03-07 19:22:12 +03:00
ffi.rs Update to objc2 v0.6 (#4092) 2025-01-28 21:31:14 +01:00
menu.rs Update to objc2 v0.6 (#4092) 2025-01-28 21:31:14 +01:00
mod.rs monitor: refactor MonitorHandle to store dyn object 2025-03-07 19:22:12 +03:00
monitor.rs monitor: refactor MonitorHandle to store dyn object 2025-03-07 19:22:12 +03:00
observer.rs Update to objc2 v0.6 (#4092) 2025-01-28 21:31:14 +01:00
util.rs Update to objc2 v0.6 (#4092) 2025-01-28 21:31:14 +01:00
view.rs Merge KeyEventExtra into KeyEvent (#4029) 2025-02-26 17:51:49 +01:00
window.rs monitor: refactor MonitorHandle to store dyn object 2025-03-07 19:22:12 +03:00
window_delegate.rs utils: add cast_* methods to allow more type-safe casting 2025-03-11 16:35:25 +03:00