mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
14 lines
302 B
Rust
14 lines
302 B
Rust
use crate::Harness;
|
|
use eframe::Frame;
|
|
use egui::Context;
|
|
|
|
impl<'a, State> eframe::App for &mut Harness<'a, State> {
|
|
fn update(&mut self, ctx: &Context, frame: &mut Frame) {
|
|
self.app.run(ctx, &mut self.state, false);
|
|
}
|
|
|
|
fn persist_egui_memory(&self) -> bool {
|
|
false
|
|
}
|
|
}
|