pub struct PaneClickDistanceInput {
pub pane_click_distance: f32,
pub selection_on_drag: bool,
}Expand description
Input for resolving the effective pane click distance used by viewport adapters.
Fields§
§pane_click_distance: f32§selection_on_drag: boolImplementations§
Trait Implementations§
Source§impl Clone for PaneClickDistanceInput
impl Clone for PaneClickDistanceInput
Source§fn clone(&self) -> PaneClickDistanceInput
fn clone(&self) -> PaneClickDistanceInput
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 PaneClickDistanceInput
Source§impl Debug for PaneClickDistanceInput
impl Debug for PaneClickDistanceInput
Source§impl PartialEq for PaneClickDistanceInput
impl PartialEq for PaneClickDistanceInput
Source§fn eq(&self, other: &PaneClickDistanceInput) -> bool
fn eq(&self, other: &PaneClickDistanceInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneClickDistanceInput
Auto Trait Implementations§
impl Freeze for PaneClickDistanceInput
impl RefUnwindSafe for PaneClickDistanceInput
impl Send for PaneClickDistanceInput
impl Sync for PaneClickDistanceInput
impl Unpin for PaneClickDistanceInput
impl UnsafeUnpin for PaneClickDistanceInput
impl UnwindSafe for PaneClickDistanceInput
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