[][src]Enum edit_common::commands::ControllerCommand

pub enum ControllerCommand {
    Keypress {
        key_code: u32,
        meta_key: bool,
        shift_key: bool,
        alt_key: bool,
    },
    Button {
        button: u32,
    },
    Character {
        char_code: u32,
    },
    InsertText {
        text: String,
    },
    RenameGroup {
        tag: String,
        curspan: CurSpan,
    },
    Cursor {
        focus: Option<CurSpan>,
        anchor: Option<CurSpan>,
    },
    CursorSelectWord {
        focus: CurSpan,
    },
    RandomTarget {
        position: f64,
    },
    Monkey {
        enabled: bool,
    },
}

Variants

Fields of Keypress

Fields of Button

Fields of Character

Fields of InsertText

Fields of RenameGroup

Fields of Cursor

Fields of CursorSelectWord

Fields of RandomTarget

Fields of Monkey

Trait Implementations

impl PartialEq<ControllerCommand> for ControllerCommand
[src]

impl Clone for ControllerCommand
[src]

Performs copy-assignment from source. Read more

impl Debug for ControllerCommand
[src]

impl Serialize for ControllerCommand
[src]

impl<'de> Deserialize<'de> for ControllerCommand
[src]

Auto Trait Implementations

impl Send for ControllerCommand

impl Sync for ControllerCommand

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]