#[repr(i32)]pub enum DragType {
None = -2,
StartDnd = -1,
Char = 0,
Word = 1,
Line = 2,
}
Expand description
Defines drag types
Variants§
None = -2
No dragging
StartDnd = -1
Drag Start “drag n drop” event
Char = 0
Drag single character
Word = 1
Drag single word
Line = 2
Drag single line
Trait Implementations§
impl Copy for DragType
impl Eq for DragType
impl StructuralPartialEq for DragType
Auto Trait Implementations§
impl Freeze for DragType
impl RefUnwindSafe for DragType
impl Send for DragType
impl Sync for DragType
impl Unpin for DragType
impl UnwindSafe for DragType
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