pub struct Device(/* private fields */);Implementations§
Source§impl Device
impl Device
pub fn seat(&self) -> &Seat
pub fn device(&self) -> &Device
pub fn name(&self) -> Option<&str>
pub fn interface<T: DeviceInterface>(&self) -> Option<T>
pub fn has_capability(&self, capability: DeviceCapability) -> bool
pub fn remove(&self)
pub fn resumed(&self)
pub fn paused(&self)
pub fn start_emulating(&self, sequence: u32)
pub fn stop_emulating(&self)
pub fn frame(&self, time: u64)
Trait Implementations§
impl Eq for Device
Auto Trait Implementations§
impl Freeze for Device
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