Trait EventLoopWithArgsDesc

Source
pub trait EventLoopWithArgsDesc {
    type Args: Unpin;
    type ProxyType: Unpin + Send;

    // Required method
    fn build_service_and_proxy_with_args(
        args: Self::Args,
    ) -> (Box<dyn FnOnce()>, Self::ProxyType);
}
Expand description

Definition of a event loop with customized arguments

Required Associated Types§

Required Methods§

Source

fn build_service_and_proxy_with_args( args: Self::Args, ) -> (Box<dyn FnOnce()>, Self::ProxyType)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§