Implement Widget::draw for Toggler

This commit is contained in:
Héctor Ramón Jiménez 2021-10-28 18:17:47 +07:00
parent f625797392
commit 1c2792c0a0
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 86 additions and 63 deletions

View file

@ -66,9 +66,3 @@ impl renderer::Text for Null {
fn fill_text(&mut self, _text: renderer::text::Section<'_, Self::Font>) {}
}
impl toggler::Renderer for Null {
type Style = ();
const DEFAULT_SIZE: u16 = 20;
}