Module conversion

Module conversion 

Source
Expand description

Convert winit types into iced_runtime types, and viceversa.

Functionsยง

cursor_position
Converts a physical cursor position into a logical Point.
fullscreen
Converts a window::Mode into a winit fullscreen mode.
icon
Converts some window::Icon into its winit counterpart.
ime_purpose
Converts some input_method::Purpose into its winit counterpart.
key
Converts a Key from winit to an iced key.
key_code
Converts a KeyCode from winit to an iced key code.
mode
Converts a winit fullscreen mode into a window::Mode.
modifiers
Converts some ModifiersState from winit to an iced modifiers state.
mouse_button
Converts a MouseButton from winit to an iced mouse button.
mouse_interaction
Converts a mouse::Interaction into a winit cursor icon.
native_key_code
Converts a NativeKeyCode from winit to an iced native key code.
physical_key
Converts a PhysicalKey from winit to an iced physical key.
position
Converts a window::Position into a winit logical position for a given monitor.
resize_direction
Converts some window::Direction into a winit::window::ResizeDirection.
theme_mode
Converts a winit window theme into a theme::Mode.
touch_event
Converts a Touch from winit to an iced touch event.
user_attention
Converts some UserAttention into its winit counterpart.
visible
Converts a window::Mode into a visibility flag.
window_attributes
Converts some window::Settings into some WindowAttributes from winit.
window_event
Converts a winit window event into an iced event.
window_level
Converts a window::Level into a winit window level.
window_theme
Converts a theme::Mode into a window theme.