[−][src]Struct qt_core::DropAction
The DropActions type is a typedef for QFlags<DropAction>. It stores an OR combination of DropAction values.
C++ enum: Qt::DropAction
.
The DropActions type is a typedef for QFlags<DropAction>. It stores an OR combination of DropAction values.
Methods
impl DropAction
[src]
impl DropAction
[src]
pub const CopyAction: DropAction
[src]
Copy the data to the target. (C++ enum variant: CopyAction = 1
)
pub const MoveAction: DropAction
[src]
Move the data from the source to the target. (C++ enum variant: MoveAction = 2
)
pub const LinkAction: DropAction
[src]
Create a link from the source to the target. (C++ enum variant: LinkAction = 4
)
pub const ActionMask: DropAction
[src]
(C++ enum variant: ActionMask = 255
)
pub const TargetMoveAction: DropAction
[src]
On Windows, this value is used when the ownership of the D&D data should be taken over by the target application, i.e., the source application should not delete the data. On X11 this value is used to do a move. TargetMoveAction is not used on the Mac. (C++ enum variant: TargetMoveAction = 32770
)
pub const IgnoreAction: DropAction
[src]
Ignore the action (do nothing with the data). (C++ enum variant: IgnoreAction = 0
)
Trait Implementations
impl<T: Into<QFlags<DropAction>>> BitOr<T> for DropAction
[src]
type Output = QFlags<DropAction>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<DropAction>
[src]
impl Clone for DropAction
[src]
fn clone(&self) -> DropAction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DropAction
[src]
impl Debug for DropAction
[src]
impl Eq for DropAction
[src]
impl From<DropAction> for c_int
[src]
fn from(value: DropAction) -> Self
[src]
impl From<DropAction> for QFlags<DropAction>
[src]
fn from(value: DropAction) -> Self
[src]
impl From<i32> for DropAction
[src]
impl PartialEq<DropAction> for DropAction
[src]
fn eq(&self, other: &DropAction) -> bool
[src]
fn ne(&self, other: &DropAction) -> bool
[src]
impl StructuralEq for DropAction
[src]
impl StructuralPartialEq for DropAction
[src]
Auto Trait Implementations
impl RefUnwindSafe for DropAction
impl Send for DropAction
impl Sync for DropAction
impl Unpin for DropAction
impl UnwindSafe for DropAction
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]
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>,