Struct pty_proc::shell::device::control::Control [] [src]

pub struct Control { /* fields omitted */ }

Methods

impl Control
[src]

[src]

The constructor method new returns a Control's event from Device.

[src]

Important traits for &'a [u8]
[src]

The accessor method as_slice returns the Control Event.

[src]

The accessor method as_time returns the Time.

[src]

The accessor method is_enter returns an Option for the Enter Key.

[src]

The accessor method is_key returns an Option for the Key interface.

[src]

The accessor method is_mouse returns an Option for the Mouse interface.

Trait Implementations

impl Clone for Control
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Control
[src]

impl Debug for Control
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Control
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Control
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl From<Operate> for Control
[src]

[src]

Performs the conversion.