pub struct WindowsSelectionMonitor { /* private fields */ }Implementations§
Source§impl WindowsSelectionMonitor
impl WindowsSelectionMonitor
pub fn new(poll_interval: Duration) -> Self
pub fn new_with_options(options: WindowsSelectionMonitorOptions) -> Self
pub fn backend(&self) -> WindowsMonitorBackend
pub fn poll_interval(&self) -> Duration
pub fn enqueue_native_selection_event<T>(&self, text: T) -> bool
pub fn enqueue_native_selection_events<I, T>(&self, events: I) -> usize
pub fn native_queue_depth(&self) -> usize
pub fn native_events_dropped(&self) -> u64
pub fn poll_native_event_pump_once(&self) -> usize
Trait Implementations§
Source§impl Default for WindowsSelectionMonitor
impl Default for WindowsSelectionMonitor
Source§impl Drop for WindowsSelectionMonitor
impl Drop for WindowsSelectionMonitor
Source§impl MonitorPlatform for WindowsSelectionMonitor
impl MonitorPlatform for WindowsSelectionMonitor
fn next_selection_change(&self) -> Option<String>
Auto Trait Implementations§
impl !Freeze for WindowsSelectionMonitor
impl RefUnwindSafe for WindowsSelectionMonitor
impl Send for WindowsSelectionMonitor
impl Sync for WindowsSelectionMonitor
impl Unpin for WindowsSelectionMonitor
impl UnsafeUnpin for WindowsSelectionMonitor
impl UnwindSafe for WindowsSelectionMonitor
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