Make Font an associated type of text_input::Renderer

This commit is contained in:
Imbris 2020-05-29 01:02:22 -04:00
parent ab0ee1a8d0
commit 490a437b2f
3 changed files with 17 additions and 10 deletions

View file

@ -27,6 +27,7 @@ impl<B> text_input::Renderer for Renderer<B>
where
B: Backend + backend::Text,
{
type Font = Font;
type Style = Box<dyn StyleSheet>;
fn default_size(&self) -> u16 {