pub struct PrimarySelectionOffer { /* private fields */ }Expand description
A primary selection offer for receiving data through copy/paste.
Implementations
sourceimpl PrimarySelectionOffer
impl PrimarySelectionOffer
sourcepub fn with_mime_types<F, T>(&self, f: F) -> T where
F: FnOnce(&[String]) -> T,
pub fn with_mime_types<F, T>(&self, f: F) -> T where
F: FnOnce(&[String]) -> T,
Access the list of mime types proposed by this offer.
Trait Implementations
sourceimpl Debug for PrimarySelectionOffer
impl Debug for PrimarySelectionOffer
Auto Trait Implementations
impl !RefUnwindSafe for PrimarySelectionOffer
impl Send for PrimarySelectionOffer
impl Sync for PrimarySelectionOffer
impl Unpin for PrimarySelectionOffer
impl !UnwindSafe for PrimarySelectionOffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more