Trait Simulate

Source
pub trait Simulate {
    // Required method
    fn send_events(&self, events: impl IntoIterator<Item = Event>) -> Result<()>;
}
Expand description

A trait to handle the input simulation.

Required Methods§

Source

fn send_events(&self, events: impl IntoIterator<Item = Event>) -> Result<()>

Simulates the specified events.

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§