Enum conrod::input::Source [] [src]

pub enum Source {
    Mouse,
    Keyboard,
    Touch(Id),
}

Sources from which user input may be received.

We use these to track which sources of input are being captured by which widget.

Variants

Mouse input (i.e. movement, buttons).

Keyboard input.

Input from a finger on a touch screen/surface.

Trait Implementations

impl Copy for Source
[src]

impl Clone for Source
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Source
[src]

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

This method tests for !=.

impl Debug for Source
[src]

Formats the value using the given formatter.