pub struct SelectItemPressablePointerHandlers {
pub on_pointer_down: OnPressablePointerDown,
pub on_pointer_up: OnPressablePointerUp,
}Expand description
Pressable pointer handlers for select listbox items.
This consolidates the Radix pointer-up guard (opening on trigger mouse pointerdown) with
Base UI’s delayed mouse-up commit policy (200/400ms) in one place so shadcn recipes can share
the same behavior without re-assembling handler logic.
Fields§
§on_pointer_down: OnPressablePointerDown§on_pointer_up: OnPressablePointerUpTrait Implementations§
Source§impl Clone for SelectItemPressablePointerHandlers
impl Clone for SelectItemPressablePointerHandlers
Source§fn clone(&self) -> SelectItemPressablePointerHandlers
fn clone(&self) -> SelectItemPressablePointerHandlers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SelectItemPressablePointerHandlers
impl !RefUnwindSafe for SelectItemPressablePointerHandlers
impl !Send for SelectItemPressablePointerHandlers
impl !Sync for SelectItemPressablePointerHandlers
impl Unpin for SelectItemPressablePointerHandlers
impl UnsafeUnpin for SelectItemPressablePointerHandlers
impl !UnwindSafe for SelectItemPressablePointerHandlers
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