pub struct SelectionPointerClaimInput {
pub screen_delta: CanvasPoint,
pub pane_click_distance: f32,
pub selection_key_pressed: bool,
pub user_selection_active: bool,
}Expand description
Normalized pointer state for deciding whether selection should claim a drag gesture first.
Fields§
§screen_delta: CanvasPoint§pane_click_distance: f32§selection_key_pressed: bool§user_selection_active: boolImplementations§
Trait Implementations§
Source§impl Clone for SelectionPointerClaimInput
impl Clone for SelectionPointerClaimInput
Source§fn clone(&self) -> SelectionPointerClaimInput
fn clone(&self) -> SelectionPointerClaimInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectionPointerClaimInput
Source§impl Debug for SelectionPointerClaimInput
impl Debug for SelectionPointerClaimInput
Source§impl PartialEq for SelectionPointerClaimInput
impl PartialEq for SelectionPointerClaimInput
Source§fn eq(&self, other: &SelectionPointerClaimInput) -> bool
fn eq(&self, other: &SelectionPointerClaimInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectionPointerClaimInput
Auto Trait Implementations§
impl Freeze for SelectionPointerClaimInput
impl RefUnwindSafe for SelectionPointerClaimInput
impl Send for SelectionPointerClaimInput
impl Sync for SelectionPointerClaimInput
impl Unpin for SelectionPointerClaimInput
impl UnsafeUnpin for SelectionPointerClaimInput
impl UnwindSafe for SelectionPointerClaimInput
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