pub unsafe fn make_qt_thread_handle(
target: *mut QObject,
) -> UniquePtr<QThreadHandleCpp>Expand description
Creates the C++ guard holding a QPointer<QObject> with target.
The returned guard may be moved to, used from and destroyed on any thread.
A null target, or one not living on the application thread,
yields a guard whose calls are all discarded.
§Safety
Must be called on target’s thread, with target either alive
or null.