aumate 0.2.8

Cross-platform desktop automation library with GUI support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Custom content renderer

use egui::Ui;

/// Trait for custom content rendering
pub trait ContentRenderer: Send + Sync {
    /// Render the content using egui
    fn render(&self, ui: &mut Ui);
}

/// A boxed content renderer
#[allow(dead_code)]
pub type BoxedRenderer = Box<dyn ContentRenderer>;