widgetui 0.7.1

A bevy like widget system for ratatui and crossterm
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::marker::PhantomData;

use crate::widget::Widget;

/// Allows all versions of a function with the parameters
/// that work within a widget to be converted into a widget
pub trait IntoWidget<Input, Data> {
    type Widget: Widget;

    fn into_widget(self) -> Self::Widget;
}