pub enum ClipboardStatus {
Pasteable,
Unknown,
NotPasteable,
}Expand description
An enumeration of the status of the content on the user’s clipboard.
Variants§
Pasteable
The clipboard content can be pasted, such as a String of nonzero length.
Unknown
The status of the clipboard is unknown. Since getting clipboard data is
asynchronous (see Clipboard::get_data), this status often exists while
waiting to receive the clipboard contents for the first time.
NotPasteable
The content on the clipboard is not pasteable, such as when it is empty.
Trait Implementations§
Source§impl Clone for ClipboardStatus
impl Clone for ClipboardStatus
impl Copy for ClipboardStatus
Source§impl Debug for ClipboardStatus
impl Debug for ClipboardStatus
impl Eq for ClipboardStatus
Source§impl Hash for ClipboardStatus
impl Hash for ClipboardStatus
Source§impl PartialEq for ClipboardStatus
impl PartialEq for ClipboardStatus
impl StructuralPartialEq for ClipboardStatus
Auto Trait Implementations§
impl Forget for ClipboardStatus
impl Freeze for ClipboardStatus
impl Move for ClipboardStatus
impl RefUnwindSafe for ClipboardStatus
impl Send for ClipboardStatus
impl Sync for ClipboardStatus
impl Unpin for ClipboardStatus
impl UnsafeUnpin for ClipboardStatus
impl UnwindSafe for ClipboardStatus
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.