Enum input::Button
[−]
[src]
pub enum Button { Keyboard(Key), Mouse(MouseButton), }
Models different kinds of buttons.
Variants
Keyboard | A keyboard button. |
Mouse | A mouse button. |
pub enum Button { Keyboard(Key), Mouse(MouseButton), }
Models different kinds of buttons.
Keyboard | A keyboard button. |
Mouse | A mouse button. |
impl Debug for Button
impl Eq for Button
impl PartialEq for Button
impl Encodable for Button
impl Decodable for Button
impl Clone for Button
fn clone(&self) -> Button
fn clone_from(&mut self, source: &Self)
impl Copy for Button
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).