Expand description
Convert winit
types into iced_runtime
types, and viceversa.
Functions§
- cursor_
position - Converts a physical cursor position to a logical
Point
. - fullscreen
- Converts a [
window::Mode
] to awinit
fullscreen mode. - icon
- Converts some [
window::Icon
] into it’swinit
counterpart. - key
- Converts a
Key
fromwinit
to aniced
key. - key_
code - Converts a
KeyCode
fromwinit
to aniced
key code. - mode
- Converts a
winit
fullscreen mode to a [window::Mode
]. - modifiers
- Converts some
ModifiersState
fromwinit
to aniced
modifiers state. - mouse_
button - Converts a
MouseButton
fromwinit
to aniced
mouse button. - mouse_
interaction - Converts a [
mouse::Interaction
] to awinit
cursor icon. - native_
key_ code - Converts a
NativeKeyCode
fromwinit
to aniced
native key code. - physical_
key - Converts a
PhysicalKey
fromwinit
to aniced
physical key. - position
- Converts a [
window::Position
] to awinit
logical position for a given monitor. - resize_
direction - Converts some [
window::Direction
] into a [winit::window::ResizeDirection
]. - touch_
event - Converts a
Touch
fromwinit
to aniced
touch event. - user_
attention - Converts some
UserAttention
into itswinit
counterpart. - visible
- Converts a [
window::Mode
] to a visibility flag. - window_
attributes - Converts some [
window::Settings
] into someWindowAttributes
fromwinit
. - window_
event - Converts a winit window event into an iced event.
- window_
level - Converts a [
window::Level
] to awinit
window level.