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§
Sourcefn new_block_on() -> Self
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.