pub struct Element {Show 16 fields
pub name: String,
pub desc: String,
pub meta: String,
pub url: Option<String>,
pub element_data: Data,
pub module_data: Data,
pub module: Option<Arc<RwLock<RefModule>>>,
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: Arc<RwLock<RefElement>>,
}Fields§
§name: String§desc: String§meta: String§url: Option<String>§element_data: Data§module_data: Data§module: Option<Arc<RwLock<RefModule>>>§statuses: Vec<String>§status: usize§data: FileOrData§progress: f32§should_save: bool§enabled: bool§thread: Option<JoinHandle<()>>§events: Arc<RwLock<Events>>§info: Arc<RwLock<RefElement>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl !RefUnwindSafe for Element
impl Unpin for Element
impl !UnwindSafe for Element
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more