pub struct LinuxSelectionMonitor { /* private fields */ }Implementations§
Source§impl LinuxSelectionMonitor
impl LinuxSelectionMonitor
pub fn new(poll_interval: Duration) -> Self
pub fn new_with_options(options: LinuxSelectionMonitorOptions) -> Self
pub fn backend(&self) -> LinuxMonitorBackend
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 LinuxSelectionMonitor
impl Default for LinuxSelectionMonitor
Source§impl Drop for LinuxSelectionMonitor
impl Drop for LinuxSelectionMonitor
Source§impl MonitorPlatform for LinuxSelectionMonitor
impl MonitorPlatform for LinuxSelectionMonitor
fn next_selection_change(&self) -> Option<String>
Auto Trait Implementations§
impl !Freeze for LinuxSelectionMonitor
impl RefUnwindSafe for LinuxSelectionMonitor
impl Send for LinuxSelectionMonitor
impl Sync for LinuxSelectionMonitor
impl Unpin for LinuxSelectionMonitor
impl UnsafeUnpin for LinuxSelectionMonitor
impl UnwindSafe for LinuxSelectionMonitor
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