Struct smithay_client_toolkit::seat::keyboard::RepeatSource[][src]

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

An event source managing the key repetition of a keyboard

It is given to you from map_keyboard, and you need to insert it in your calloop event loop if you want to have functionning key repetition.

If don’t want key repetition you can just drop it.

This source will not directly generate calloop events, and the callback provided to EventLoopHandle::insert_source() will be ignored. Instead it triggers the callback you provided to map_keyboard.

Trait Implementations

Formats the value using the given formatter. Read more

The type of events generated by your source.

Some metadata of your event source Read more

The return type of the user callback Read more

Process any relevant events Read more

Register yourself to this poll instance Read more

Re-register your file descriptors Read more

Unregister your file descriptors 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.