Struct xcb::xinput::DeviceValuatorEvent
source · pub struct DeviceValuatorEvent { /* private fields */ }
Expand description
The DeviceValuatorEvent
event.
Implementations§
source§impl DeviceValuatorEvent
impl DeviceValuatorEvent
pub fn new( event_base: u8, device_id: u8, device_state: u16, num_valuators: u8, first_valuator: u8, valuators: [i32; 6], ) -> DeviceValuatorEvent
pub fn response_type(&self) -> u8
pub fn device_id(&self) -> u8
pub fn sequence(&self) -> u16
pub fn device_state(&self) -> u16
pub fn num_valuators(&self) -> u8
pub fn first_valuator(&self) -> u8
pub fn valuators(&self) -> &[i32; 6]
Trait Implementations§
source§impl BaseEvent for DeviceValuatorEvent
impl BaseEvent for DeviceValuatorEvent
source§impl Debug for DeviceValuatorEvent
impl Debug for DeviceValuatorEvent
source§impl Drop for DeviceValuatorEvent
impl Drop for DeviceValuatorEvent
source§impl Raw<xcb_generic_event_t> for DeviceValuatorEvent
impl Raw<xcb_generic_event_t> for DeviceValuatorEvent
impl Send for DeviceValuatorEvent
impl Sync for DeviceValuatorEvent
Auto Trait Implementations§
impl Freeze for DeviceValuatorEvent
impl RefUnwindSafe for DeviceValuatorEvent
impl Unpin for DeviceValuatorEvent
impl UnwindSafe for DeviceValuatorEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more