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
I have a value that is taken by a function and is not Clone, and i need to call that function on init together with the event loop window target. Now there is Event::NewEvents(StartCause::Init) but that could theoretically be called multiple times so the rust analyzer errors.
Could we have another impl FnOnce as a parameter that is called on the beginning?
The text was updated successfully, but these errors were encountered:
Previously, mostly man-hours and motivation, although also that the desired design wasn't properly fleshed out.
Currently there's talk on Matrix about rewriting certain things in Winit, so that's also somewhat blocking progress here (I know that's a terrible answer, but that is roughly the status quo).
I have a value that is taken by a function and is not Clone, and i need to call that function on init together with the event loop window target. Now there is
Event::NewEvents(StartCause::Init)
but that could theoretically be called multiple times so the rust analyzer errors.Could we have another impl FnOnce as a parameter that is called on the beginning?
The text was updated successfully, but these errors were encountered: