Crate egui_router

Source
Expand description

§egui_router

egui_ver Latest version Documentation unsafe forbidden License

A single-page application router for egui.

It supports:

  • Customizable route transition animations
  • Axum-like route matching and handler functions

Check out the hello_egui demo, which internally uses egui_router to route between the examples and crates.

Modules§

history
History types
transition
Transition types

Structs§

EguiRouter
A router instance
Request
Request passed to a [handler::MakeHandler]
RouterBuilder
Builder to create a EguiRouter
TransitionConfig
Page transition configuration

Enums§

HandlerError
Error returned from a [Handler]
RouterError
Router error

Traits§

Route
A route instance created by a [handler::Handler]

Type Aliases§

HandlerResult
Handler Result type
RouterResult
Router Result type