struct Selection {
    data: RwLock<Option<Vec<ClipboardData>>>,
    mutex: Mutex<Option<Instant>>,
    data_changed: Condvar,
}Fields§
§data: RwLock<Option<Vec<ClipboardData>>>§mutex: Mutex<Option<Instant>>Mutex around when this selection was last changed by us for both use with the below condvar and logging.
data_changed: CondvarA condvar that is notified when the contents of this clipboard are changed.
This is associated with Self::mutex.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Selection
impl !RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more