pub struct ClipboardSession { /* private fields */ }Expand description
Keeps a virtual-file clipboard transfer available.
The session owns the resources needed to serve file contents when another application pastes them.
Keep this value alive while clipboard data may still be requested.
Dropping the session clears its clipboard contents if they are still the current clipboard contents. It does not clear data installed by another application or a newer clipboard session.
Implementations§
Auto Trait Implementations§
impl !Send for ClipboardSession
impl !Sync for ClipboardSession
impl Freeze for ClipboardSession
impl RefUnwindSafe for ClipboardSession
impl Unpin for ClipboardSession
impl UnsafeUnpin for ClipboardSession
impl UnwindSafe for ClipboardSession
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