pub enum DragCapture {
Press,
PressFocus,
}Expand description
Immediate primary-pointer capture on a boxed View. Applications provide separate semantic keyboard controls; capture does not invent a control role.
Variants§
Press
Preserve the current actual focus, such as an adjacent text editor.
PressFocus
Focus the View, which must declare Programmatic or TabStop focus.
Implementations§
Trait Implementations§
Source§impl Clone for DragCapture
impl Clone for DragCapture
impl Copy for DragCapture
Source§impl Debug for DragCapture
impl Debug for DragCapture
impl Eq for DragCapture
Source§impl PartialEq for DragCapture
impl PartialEq for DragCapture
impl StructuralPartialEq for DragCapture
Auto Trait Implementations§
impl Freeze for DragCapture
impl RefUnwindSafe for DragCapture
impl Send for DragCapture
impl Sync for DragCapture
impl Unpin for DragCapture
impl UnsafeUnpin for DragCapture
impl UnwindSafe for DragCapture
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