Make Font an associated type of text_input::Renderer
This commit is contained in:
parent
ab0ee1a8d0
commit
490a437b2f
3 changed files with 17 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue