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: EventHandlerThe EventHandler instance.
number_events: usizeThe number of known available events.
Implementations
For each known event, call the callback with the EventHandler instance.
Auto Trait Implementations
impl !RefUnwindSafe for TestContextimpl !Send for TestContextimpl !Sync for TestContextimpl Unpin for TestContextimpl !UnwindSafe for TestContext