Enum pty_proc::shell::device::control::operate::Operate [] [src]

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

Variants

The mouse operate.

The key operate.

Methods

impl Operate
[src]

[src]

The constructor method new returns evaluated Operate.

[src]

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

[src]

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

[src]

Trait Implementations

impl Clone for Operate
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Operate
[src]

impl Debug for Operate
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Operate> for Control
[src]

[src]

Performs the conversion.