pub struct Element {Show 15 fields
pub name: String,
pub desc: String,
pub meta: String,
pub element_data: Data,
pub module_data: Data,
pub module: Option<MRef>,
pub statuses: Vec<String>,
pub status: usize,
pub data: FileOrData,
pub progress: f32,
pub should_save: bool,
pub enabled: bool,
pub thread: Option<JoinHandle<()>>,
pub events: Arc<RwLock<Events>>,
pub info: ERef,
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.