Enum neko::pty::Operate []

pub enum Operate {
    Mouse(Mouse),
    Key(Key),
}

Variants

The mouse operate.

The key operate.

Methods

impl Operate

The constructor method new returns evaluated Operate.

The accessor method is_mouse returns a Option for the Mouse Operate.

The accessor method is_key returns a Option for the Key Operate.

Trait Implementations

impl Copy for Operate

impl Debug for Operate

Formats the value using the given formatter.

impl Clone for Operate

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more