Enum smithay_client_toolkit::keyboard::KeyRepeatKind[][src]

pub enum KeyRepeatKind {
    Fixed {
        rate: u64,
        delay: u64,
    },
    System,
}

Determines the behaviour of key repetition

Variants

keys will be repeated at a set rate and delay

Fields of Fixed

rate (in milliseconds) at which the repetition should occur

delay (in milliseconds) between a key press and the start of repetition

keys will be repeated at a rate and delay set by the wayland server

Trait Implementations

impl PartialEq for KeyRepeatKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for KeyRepeatKind

impl Sync for KeyRepeatKind