mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
return uncovered struct
This commit is contained in:
parent
01a3e57a09
commit
a1d477ddce
@ -1,5 +1,4 @@
|
||||
use gtk::glib::GString;
|
||||
use std::cell::RefCell;
|
||||
|
||||
pub enum Mime {
|
||||
Undefined,
|
||||
@ -15,12 +14,12 @@ pub struct Meta {
|
||||
}
|
||||
|
||||
impl Meta {
|
||||
pub fn new() -> RefCell<Meta> {
|
||||
RefCell::new(Self {
|
||||
pub fn new() -> Meta {
|
||||
Self {
|
||||
title: GString::new(),
|
||||
description: GString::new(),
|
||||
mime: Mime::Undefined,
|
||||
progress_fraction: 0.0,
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user