Crate epi[][src]

Expand description

Backend-agnostic interface for writing apps using egui.

epi provides interfaces for window management, serialization and http requests. 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.

http

epi supports simple HTTP requests with Frame::http_fetch.

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.

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.

RepaintSignal

How to signal the egui integration that a repaint is required.

Storage

A place where you can store custom data in a way that persists when you restart the app.

TextureAllocator

How to allocate textures (images) to use in egui.

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.