Struct dualshock4::Button
[−]
[src]
pub struct Button { pub pressed: bool, pub analog_value: Option<u8>, }
Fields
pressed: bool
analog_value: Option<u8>
Trait Implementations
impl PartialEq for Button
[src]
fn eq(&self, __arg_0: &Button) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Button) -> bool
[src]
This method tests for !=
.