Crate iced_winit

Source
Expand description

A windowing shell for Iced, on top of winit.

The native path of the Iced ecosystem

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 into iced_runtime types, and viceversa.
systemsystem
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.