Trait smithay::backend::input::PointerButtonEvent[][src]

pub trait PointerButtonEvent<B: InputBackend>: Event<B> {
    fn button(&self) -> MouseButton;
fn state(&self) -> ButtonState; }
Expand description

Common methods pointer event generated by pressed buttons do implement

Required methods

Pressed button of the event

State of the button

Implementations on Foreign Types

Implementors