mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
add Default implementation for Text
This commit is contained in:
parent
1d4dc50380
commit
af7aaa63e4
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,12 @@ pub struct Text {
|
||||||
data: GString,
|
data: GString,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Text {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Text {
|
impl Text {
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue