pub struct PointerGestureClaimInput {
pub screen_delta: CanvasPoint,
pub selection_key_pressed: bool,
pub user_selection_active: bool,
pub connection_in_progress: bool,
pub pane_click_distance: f32,
pub node_drag_threshold: f32,
}Expand description
Input for resolving which headless pointer gesture should claim a drag start.
Fields§
§screen_delta: CanvasPoint§selection_key_pressed: bool§user_selection_active: bool§connection_in_progress: bool§pane_click_distance: f32§node_drag_threshold: f32Implementations§
Trait Implementations§
Source§impl Clone for PointerGestureClaimInput
impl Clone for PointerGestureClaimInput
Source§fn clone(&self) -> PointerGestureClaimInput
fn clone(&self) -> PointerGestureClaimInput
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 PointerGestureClaimInput
Source§impl Debug for PointerGestureClaimInput
impl Debug for PointerGestureClaimInput
Source§impl PartialEq for PointerGestureClaimInput
impl PartialEq for PointerGestureClaimInput
Source§fn eq(&self, other: &PointerGestureClaimInput) -> bool
fn eq(&self, other: &PointerGestureClaimInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointerGestureClaimInput
Auto Trait Implementations§
impl Freeze for PointerGestureClaimInput
impl RefUnwindSafe for PointerGestureClaimInput
impl Send for PointerGestureClaimInput
impl Sync for PointerGestureClaimInput
impl Unpin for PointerGestureClaimInput
impl UnsafeUnpin for PointerGestureClaimInput
impl UnwindSafe for PointerGestureClaimInput
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