Enum capsules::button::ButtonState
[−]
[src]
pub enum ButtonState {
NotPressed,
Pressed,
}Values that are passed to userspace to identify if the button is pressed or not.
Variants
NotPressedPressed
Trait Implementations
impl Clone for ButtonState[src]
fn clone(&self) -> ButtonState[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more