pub enum SourceFeedback {
Dim,
Placeholder,
None,
}Expand description
What the source looks like in place while its drag is in flight.
Variants§
Dim
Paint the child dimmed, so the item reads as “being moved”.
Placeholder
Paint an empty, themed slot of the child’s size instead of the child — the gap the item will leave.
None
Leave the child exactly as it was.
Trait Implementations§
Source§impl Clone for SourceFeedback
impl Clone for SourceFeedback
impl Copy for SourceFeedback
Source§impl Debug for SourceFeedback
impl Debug for SourceFeedback
Source§impl Default for SourceFeedback
impl Default for SourceFeedback
impl Eq for SourceFeedback
Source§impl PartialEq for SourceFeedback
impl PartialEq for SourceFeedback
impl StructuralPartialEq for SourceFeedback
Auto Trait Implementations§
impl Freeze for SourceFeedback
impl RefUnwindSafe for SourceFeedback
impl Send for SourceFeedback
impl Sync for SourceFeedback
impl Unpin for SourceFeedback
impl UnsafeUnpin for SourceFeedback
impl UnwindSafe for SourceFeedback
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
impl<T> Brush for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
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.