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
Mouse input (i.e. movement, buttons).
Keyboard
Keyboard input.
Touch(Id)
Input from a finger on a touch screen/surface.
Trait Implementations
impl Copy for Source
[src]
impl Clone for Source
[src]
fn clone(&self) -> Source
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Source
[src]
fn eq(&self, __arg_0: &Source) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Source) -> bool
This method tests for !=
.