Expand description
A windowing shell for Iced, on top of winit
.
iced_winit
offers some convenient abstractions on top of iced_runtime
to quickstart development when using winit
.
It exposes a renderer-agnostic [Program
] trait that can be implemented
and then run with a simple call. The use of this trait is optional.
Additionally, a conversion
module is available for users that decide to
implement a custom event loop.
Re-exports§
pub use clipboard::Clipboard;
pub use iced_program as program;
pub use program::core;
pub use program::graphics;
pub use program::runtime;
pub use runtime::debug;
pub use runtime::futures;
pub use winit;
Modules§
- clipboard
- Access the clipboard.
- conversion
- Convert
winit
types intoiced_runtime
types, and viceversa. - system
system
- Access the native system.
Structs§
- Proxy
- An event loop proxy with backpressure that implements
Sink
.
Enums§
- Error
- An error that occurred while running an application.
Functions§
- build_
user_ interfaces - Build the user interface for every window.
- run
- Runs a [
Program
] with the provided settings. - user_
force_ quit - Returns true if the provided event should cause a [
Program
] to exit.