Skip to main content

Component

Trait Component 

Source
pub trait Component {
    // Provided methods
    fn handle_input(&mut self, _event: Event) -> Option<AppEvent> { ... }
    fn render(
        &mut self,
        _frame: &mut Frame<'_>,
        _area: Rect,
        _theme: &Theme,
        _info: &FrameworkInfo,
    ) { ... }
}

Provided Methods§

Source

fn handle_input(&mut self, _event: Event) -> Option<AppEvent>

Source

fn render( &mut self, _frame: &mut Frame<'_>, _area: Rect, _theme: &Theme, _info: &FrameworkInfo, )

Implementors§