Enum nannou::ui::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 Clone for Source
[src]
impl Clone for Source
fn clone(&self) -> Source
[src]
fn clone(&self) -> Source
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Source
[src]
impl Debug for Source
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Source
[src]
impl Copy for Source
impl PartialEq<Source> for Source
[src]
impl PartialEq<Source> for Source