pub struct Interception { /* private fields */ }
Implementations§
Source§impl Interception
impl Interception
pub fn new() -> Option<Self>
pub fn get_precedence(&self, device: Device) -> Precedence
pub fn set_precedence(&self, device: Device, precedence: Precedence)
pub fn get_filter(&self, device: Device) -> Filter
pub fn set_filter(&self, predicate: Predicate, filter: Filter)
pub fn wait(&self) -> Device
pub fn wait_with_timeout(&self, duration: Duration) -> Device
pub fn send(&self, device: Device, strokes: &[Stroke]) -> i32
pub fn receive(&self, device: Device, strokes: &mut [Stroke]) -> i32
pub fn get_hardware_id(&self, device: Device, buffer: &mut [u8]) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interception
impl RefUnwindSafe for Interception
impl !Send for Interception
impl !Sync for Interception
impl Unpin for Interception
impl UnwindSafe for Interception
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