Struct winput::message_loop::EventReceiver[][src]

pub struct EventReceiver { /* fields omitted */ }
Expand description

The result of the start function. This structure receives the messages received by the message loop.

The message loop is automatically stopped when this structure is dropped.

Implementations

Discard all the events stored in the receiver.

Blocks the current thread until an event is received.

Blocks the current thread until an event is received or the given duration is reached.

Tries to receive an event without blocking the thread.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.