Struct input_manager::Button [−][src]
Fields
pressed: bool
new_event: bool
Trait Implementations
impl Default for Button
[src]
impl Default for Button
impl Debug for Button
[src]
impl Debug for Button
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Button
[src]
impl PartialEq for Button
fn eq(&self, other: &Button) -> bool
[src]
fn eq(&self, other: &Button) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Button) -> bool
[src]
fn ne(&self, other: &Button) -> bool
This method tests for !=
.
impl IButton for Button
[src]
impl IButton for Button
fn apply(&mut self, change: ButtonChange)
[src]
fn apply(&mut self, change: ButtonChange)
fn tick(&mut self)
[src]
fn tick(&mut self)