#[non_exhaustive]pub struct Scope {}
Expand description
The scope handle on which one can spawn event loops
Implementations§
Source§impl Scope
impl Scope
pub fn fork_and_run_event_loop<T: EventLoopDesc>( &mut self, ) -> impl Future<Output = Result<T::ProxyType, ForkFailError>> + Send
pub fn fork_and_run_event_loop_with_arg<T: EventLoopWithArgsDesc>( &mut self, args: <T as EventLoopWithArgsDesc>::Args, ) -> impl Future<Output = Result<T::ProxyType, ForkFailError>> + Send
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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