struct Device {
_name: String,
scroll_axes: Vec<(i32, ScrollAxis)>,
attachment: c_int,
}
Fields§
§_name: String
§scroll_axes: Vec<(i32, ScrollAxis)>
§attachment: c_int
Implementations§
source§impl Device
impl Device
fn new(info: &XIDeviceInfo) -> Self
fn reset_scroll_position(&mut self, info: &XIDeviceInfo)
fn physical_device(info: &XIDeviceInfo) -> bool
fn classes(info: &XIDeviceInfo) -> &[*const XIAnyClassInfo]
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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