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 Buttonimpl Eq for Buttonimpl PartialEq for Buttonimpl Encodable for Buttonimpl Decodable for Buttonimpl Clone for Buttonfn clone(&self) -> Buttonfn 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).