pub struct SelectionOwnerChanged { /* private fields */ }
Expand description
The details of a new clipboard selection.
Implementations§
Source§impl SelectionOwnerChanged
impl SelectionOwnerChanged
Sourcepub fn session_is_owner(&self) -> Option<bool>
pub fn session_is_owner(&self) -> Option<bool>
Whether the session is the owner of the clipboard selection or not.
Sourcepub fn mime_types(&self) -> Vec<String>
pub fn mime_types(&self) -> Vec<String>
A list of mime types the new clipboard has content for.
Trait Implementations§
Source§impl Debug for SelectionOwnerChanged
impl Debug for SelectionOwnerChanged
Source§impl<'de> Deserialize<'de> for SelectionOwnerChanged
impl<'de> Deserialize<'de> for SelectionOwnerChanged
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SelectionOwnerChanged
impl RefUnwindSafe for SelectionOwnerChanged
impl Send for SelectionOwnerChanged
impl Sync for SelectionOwnerChanged
impl Unpin for SelectionOwnerChanged
impl UnwindSafe for SelectionOwnerChanged
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.