pub struct PopupDrag {
pub pointer_id: u64,
pub start_y: f32,
pub start_scroll_offset: usize,
pub scrolled: bool,
}Expand description
Active touch-drag on the open dropdown popup.
Fields§
§pointer_id: u64§start_y: f32§start_scroll_offset: usize§scrolled: boolTrue once the user has moved more than ITEM_H / 2 from
start_y. Distinguishes a tap (select on release) from a
scroll-drag (keep popup open on release).
Auto Trait Implementations§
impl Freeze for PopupDrag
impl RefUnwindSafe for PopupDrag
impl Send for PopupDrag
impl Sync for PopupDrag
impl Unpin for PopupDrag
impl UnsafeUnpin for PopupDrag
impl UnwindSafe for PopupDrag
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