pub enum FileDropPhase {
Hover,
Drop,
Cancel,
Ended,
}Expand description
The phase of a desktop OS file drag over the window. A shell publishes Hover, Drop and
Cancel; Ended is the root’s own broadcast follow-up.
Variants§
Hover
Drop
Cancel
Ended
Broadcast-only, after every Drop/Cancel: the drag is over, so end any state it opened.
Trait Implementations§
Source§impl Clone for FileDropPhase
impl Clone for FileDropPhase
impl Copy for FileDropPhase
Source§impl Debug for FileDropPhase
impl Debug for FileDropPhase
impl Eq for FileDropPhase
Source§impl PartialEq for FileDropPhase
impl PartialEq for FileDropPhase
impl StructuralPartialEq for FileDropPhase
Auto Trait Implementations§
impl Freeze for FileDropPhase
impl RefUnwindSafe for FileDropPhase
impl Send for FileDropPhase
impl Sync for FileDropPhase
impl Unpin for FileDropPhase
impl UnsafeUnpin for FileDropPhase
impl UnwindSafe for FileDropPhase
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<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§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.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.