[−][src]Struct qt_gui::q_clipboard::Mode
This enum type is used to control which part of the system clipboard is used by QClipboard::mimeData(), QClipboard::setMimeData() and related functions.
C++ enum: QClipboard::Mode
.
This enum type is used to control which part of the system clipboard is used by QClipboard::mimeData(), QClipboard::setMimeData() and related functions.
See also QClipboard::supportsSelection().
Methods
impl Mode
[src]
impl Mode
[src]
pub const Clipboard: Mode
[src]
indicates that data should be stored and retrieved from the global clipboard. (C++ enum variant: Clipboard = 0
)
pub const Selection: Mode
[src]
indicates that data should be stored and retrieved from the global mouse selection. Support for Selection
is provided only on systems with a global mouse selection (e.g. X11). (C++ enum variant: Selection = 1
)
pub const FindBuffer: Mode
[src]
indicates that data should be stored and retrieved from the Find buffer. This mode is used for holding search strings on macOS. (C++ enum variant: FindBuffer = 2
)
pub const LastMode: Mode
[src]
C++ enum variant: LastMode = 2
Trait Implementations
impl Clone for Mode
[src]
impl Copy for Mode
[src]
impl Debug for Mode
[src]
impl Eq for Mode
[src]
impl From<Mode> for c_int
[src]
impl From<i32> for Mode
[src]
impl PartialEq<Mode> for Mode
[src]
impl StructuralEq for Mode
[src]
impl StructuralPartialEq for Mode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,