Crate epi

Source
Expand description

Backend-agnostic interface for writing apps using egui.

epi provides interfaces for window management and serialization. An app written for epi can then be plugged into eframe, the egui framework crate.

Start by looking at the App trait, and implement App::update.

Re-exports§

pub use egui;

Modules§

backend
You only need to look here if you are writing a backend for epi.
file_storage
File storage which can be used by native backends.

Structs§

DummyStorage
Stores nothing.
Frame
Represents the surroundings of your app.
IconData
Image data for the icon.
IntegrationInfo
Information about the integration passed to the use app each frame.
Location
Information about the URL.
NativeOptions
Options controlling the behavior of a native window.
WebInfo
Information about the web environment (if applicable).

Constants§

APP_KEY
Storage key used for app

Traits§

App
Implement this trait to write apps that can be compiled both natively using the egui_glium crate, and deployed as a web site using the egui_web crate.
NativeTexture
Abstraction for platform dependent texture reference
Storage
A place where you can store custom data in a way that persists when you restart the app.

Functions§

get_value
Get and deserialize the RON stored at the given key.
set_value
Serialize the given value as RON and store with the given key.