pub enum DragOrigin {
Internal,
External,
}Expand description
Where a drag originated.
Variants§
Internal
Started inside the application via EventContext::start_drag.
External
Delivered by the OS — files / text / URLs dragged from another application or the file manager into a window.
Trait Implementations§
Source§impl Clone for DragOrigin
impl Clone for DragOrigin
Source§fn clone(&self) -> DragOrigin
fn clone(&self) -> DragOrigin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DragOrigin
Source§impl Debug for DragOrigin
impl Debug for DragOrigin
impl Eq for DragOrigin
Source§impl PartialEq for DragOrigin
impl PartialEq for DragOrigin
impl StructuralPartialEq for DragOrigin
Auto Trait Implementations§
impl Freeze for DragOrigin
impl RefUnwindSafe for DragOrigin
impl Send for DragOrigin
impl Sync for DragOrigin
impl Unpin for DragOrigin
impl UnsafeUnpin for DragOrigin
impl UnwindSafe for DragOrigin
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