pub enum DragEligibility {
CanDrag,
NoDrag,
}Expand description
Whether a row may begin a drag at all (the per-item transferable gate, Qt’s
Qt::ItemIsDragEnabled / TabBar’s with_transferable_predicate).
Variants§
Trait Implementations§
Source§impl Clone for DragEligibility
impl Clone for DragEligibility
Source§fn clone(&self) -> DragEligibility
fn clone(&self) -> DragEligibility
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 DragEligibility
Source§impl Debug for DragEligibility
impl Debug for DragEligibility
impl Eq for DragEligibility
Source§impl PartialEq for DragEligibility
impl PartialEq for DragEligibility
Source§fn eq(&self, other: &DragEligibility) -> bool
fn eq(&self, other: &DragEligibility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DragEligibility
Auto Trait Implementations§
impl Freeze for DragEligibility
impl RefUnwindSafe for DragEligibility
impl Send for DragEligibility
impl Sync for DragEligibility
impl Unpin for DragEligibility
impl UnsafeUnpin for DragEligibility
impl UnwindSafe for DragEligibility
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