feat: add fill_raw method and Raw associated type for text::Renderer
This commit is contained in:
parent
6bbe189809
commit
b26890f76e
7 changed files with 49 additions and 4 deletions
|
|
@ -41,6 +41,7 @@ impl text::Renderer for () {
|
|||
type Font = Font;
|
||||
type Paragraph = ();
|
||||
type Editor = ();
|
||||
type Raw = ();
|
||||
|
||||
const ICON_FONT: Font = Font::DEFAULT;
|
||||
const CHECKMARK_ICON: char = '0';
|
||||
|
|
@ -73,6 +74,8 @@ impl text::Renderer for () {
|
|||
) {
|
||||
}
|
||||
|
||||
fn fill_raw(&mut self, _raw: Self::Raw) {}
|
||||
|
||||
fn fill_text(
|
||||
&mut self,
|
||||
_paragraph: Text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue