This commit is contained in:
Stephan Dilly 2020-04-12 19:39:53 +02:00
parent f2f278e9c0
commit e43ed300ed

View file

@ -42,10 +42,12 @@ pub fn visibility_blocking<T: Component>(
} }
} }
///
pub trait DrawableComponent { pub trait DrawableComponent {
/// ///
fn draw<B: Backend>(&self, f: &mut Frame<B>, rect: Rect); fn draw<B: Backend>(&self, f: &mut Frame<B>, rect: Rect);
} }
/// ///
pub trait Component { pub trait Component {
/// ///