Struct input::testutil::TestContext [−][src]
pub struct TestContext { pub event_handler: EventHandler, pub number_events: usize, }
Expand description
Context for a EventHandler
based test.
Fields
event_handler: EventHandler
The EventHandler
instance.
number_events: usize
The number of known available events.
Implementations
For each known event, call the callback with the EventHandler
instance.
Auto Trait Implementations
impl !RefUnwindSafe for TestContext
impl !Send for TestContext
impl !Sync for TestContext
impl Unpin for TestContext
impl !UnwindSafe for TestContext