Trait EventLoopDesc

Source
pub trait EventLoopDesc {
    type ProxyType: Unpin + Send;

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

Definition of a event loop with default arguments

Required Associated Types§

Required Methods§

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§