Struct neko::prelude::Control []

pub struct Control { /* fields omitted */ }

Methods

impl Control

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

The accessor method as_slice returns the Control Event.

The accessor method as_time returns the Time.

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

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

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

Trait Implementations

impl Copy for Control

impl Debug for Control

Formats the value using the given formatter.

impl PartialEq<Control> for Control

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

This method tests for !=.

impl Clone for Control

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Control

Formats the value using the given formatter. Read more

impl From<Operate> for Control

Performs the conversion.