pub struct InvisibleWindowAppHelper<'a> { /* private fields */ }Implementations§
Source§impl<'a> InvisibleWindowAppHelper<'a>
impl<'a> InvisibleWindowAppHelper<'a>
Sourcepub unsafe fn make_app<App>() -> Result<(Self, Rc<ReentrantRefCell<Option<App>>>)>where
App: AppLike<Self> + 'a,
pub unsafe fn make_app<App>() -> Result<(Self, Rc<ReentrantRefCell<Option<App>>>)>where
App: AppLike<Self> + 'a,
Bootstraps an app with simple message-receiving capabilities.
Drop the first return value (the helper) last. This is ensured by a regular binding let (_app_helper, _app) = ... when not passing the last return value out of the scope.
§Safety
See AppLike::wnd_proc().
Auto Trait Implementations§
impl<'a> Freeze for InvisibleWindowAppHelper<'a>
impl<'a> !RefUnwindSafe for InvisibleWindowAppHelper<'a>
impl<'a> !Send for InvisibleWindowAppHelper<'a>
impl<'a> !Sync for InvisibleWindowAppHelper<'a>
impl<'a> Unpin for InvisibleWindowAppHelper<'a>
impl<'a> !UnwindSafe for InvisibleWindowAppHelper<'a>
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