pub struct PointerSequence { /* private fields */ }Expand description
One physical contact, tied to the handler and model row that received Down.
Implementations§
Source§impl PointerSequence
impl PointerSequence
pub fn target(&self) -> &Target
pub fn is_live( &self, input: &Interaction, scene: &Node, layout: &LayoutNode, ) -> bool
pub fn press_and_hold_deadline(&self) -> Option<Instant>
pub fn disable_press_and_hold(&mut self)
pub fn press_and_hold_triggered(&self) -> bool
pub fn constrain_press_and_hold( &mut self, layout: &LayoutNode, position: Option<Point>, )
pub fn advance_press_and_hold( &mut self, input: &Interaction, scene: &Node, layout: &LayoutNode, component: &mut impl Component, now: Instant, ) -> bool
pub fn sample( &mut self, input: &Interaction, scene: &Node, layout: &LayoutNode, point: Point, kind: PointerEventKind, modifiers: KeyModifiers, ) -> Option<PointerDelivery>
pub fn cancel(self, modifiers: KeyModifiers) -> PointerDelivery
Auto Trait Implementations§
impl !RefUnwindSafe for PointerSequence
impl !Send for PointerSequence
impl !Sync for PointerSequence
impl !UnwindSafe for PointerSequence
impl Forget for PointerSequence
impl Freeze for PointerSequence
impl Move for PointerSequence
impl Unpin for PointerSequence
impl UnsafeUnpin for PointerSequence
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