Trait EventLoopBuilderExt

Source
pub trait EventLoopBuilderExt {
    // Required method
    fn new_block_on() -> Self;
}
Expand description

An extension trait for EventLoopBuilder that allows one to construct an event loop that can block on the future.

Required Methods§

Source

fn new_block_on() -> Self

Starts building a new async event loop.

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.

Implementations on Foreign Types§

Source§

impl<T> EventLoopBuilderExt for EventLoopBuilder<Signal<T>>

Implementors§