winit/src/platform_impl/linux
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
..
common Merge KeyEventExtra into KeyEvent (#4029) 2025-02-26 17:51:49 +01:00
wayland utils: add cast_* methods to allow more type-safe casting 2025-03-11 16:35:25 +03:00
x11 utils: add cast_* methods to allow more type-safe casting 2025-03-11 16:35:25 +03:00
mod.rs x11: move x11 specific code to x11 from linux/mod.rs 2025-03-08 10:14:08 +03:00