Struct xcb::xinput::DeviceValuatorEvent
source · [−]pub struct DeviceValuatorEvent { /* private fields */ }
Expand description
The DeviceValuatorEvent
event.
Implementations
sourceimpl 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
sourceimpl BaseEvent for DeviceValuatorEvent
impl BaseEvent for DeviceValuatorEvent
sourceimpl Debug for DeviceValuatorEvent
impl Debug for DeviceValuatorEvent
sourceimpl Drop for DeviceValuatorEvent
impl Drop for DeviceValuatorEvent
sourceimpl 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 RefUnwindSafe for DeviceValuatorEvent
impl Unpin for DeviceValuatorEvent
impl UnwindSafe for DeviceValuatorEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more