-
Notifications
You must be signed in to change notification settings - Fork 785
Open
Labels
a:language-rustRust API and codegen (mO,mS)Rust API and codegen (mO,mS)apiChanges or additions to APIsChanges or additions to APIsrfcRequest for comments: proposals for changesRequest for comments: proposals for changes
Description
I'm using Rust.
When you call callbacks from a global singleton in a component's init callback, they aren't yet implemented, even if the first thing you do after AppWindow::new() is to implement the global singleton. This limits you.
Would it be possible to provide another constructor function with_...() or so on window components that maybe demands an FnOnce closure where you can call through to your function that implements the window's global singletons?
Metadata
Metadata
Assignees
Labels
a:language-rustRust API and codegen (mO,mS)Rust API and codegen (mO,mS)apiChanges or additions to APIsChanges or additions to APIsrfcRequest for comments: proposals for changesRequest for comments: proposals for changes