Implement Default for Font
This commit is contained in:
parent
3375824630
commit
6786b8a3aa
1 changed files with 6 additions and 0 deletions
|
|
@ -16,3 +16,9 @@ pub enum Font {
|
||||||
bytes: &'static [u8],
|
bytes: &'static [u8],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Font {
|
||||||
|
fn default() -> Font {
|
||||||
|
Font::Default
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue