You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there's no into_inner() method for two lock types egui::mutex::{Mutex, RwLock}.
So the inner value T cannot move out from the wrapper.
/* struct App { */
finish_list:Vec<T>,// Access T without locks#[serde(skip)]
queue:Vec<Arc<RwLock<T>>>,// Move values to `finish_list` if parallel jobs are done// Also showing some progress bars in GUI
Is your feature request related to a problem? Please describe.
Currently, there's no
into_inner()
method for two lock typesegui::mutex::{Mutex, RwLock}
.So the inner value
T
cannot move out from the wrapper.Describe the solution you'd like
Provide
fn into_inner(self) -> T
throughlock_api
andatomic_refcell
.Describe alternatives you've considered
T: Clone
, then clone it out.serde
) for these locks? It's helpful to save sharable data in the app state.The text was updated successfully, but these errors were encountered: