pub struct InputDeviceManager { /* private fields */ }Implementations§
Source§impl InputDeviceManager
impl InputDeviceManager
pub fn new(family: InputFamily) -> Self
pub fn raw_id_to_id(&self, raw_id: usize) -> Option<usize>
pub fn device_connected(&self, raw_id: usize) -> usize
pub fn device_disconnected(&self, id: usize)
pub fn device_disconnected_raw(&self, raw_id: usize)
pub fn get_state(&self, id: usize) -> Option<Arc<InputDeviceState>>
pub fn get_state_raw(&self, raw_id: usize) -> Option<Arc<InputDeviceState>>
Auto Trait Implementations§
impl !Freeze for InputDeviceManager
impl RefUnwindSafe for InputDeviceManager
impl Send for InputDeviceManager
impl Sync for InputDeviceManager
impl Unpin for InputDeviceManager
impl UnwindSafe for InputDeviceManager
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