pub struct NodeGraphPanInteraction<'a> {
pub pan_on_scroll: bool,
pub pan_on_drag: NodeGraphPanOnDragButtons,
pub pane_click_distance: f32,
pub pan_activation_key_code: Option<NodeGraphKeyCode>,
pub space_to_pan: bool,
pub pan_on_scroll_speed: f32,
pub pan_on_scroll_mode: NodeGraphPanOnScrollMode,
pub pan_inertia: &'a NodeGraphPanInertiaTuning,
pub translate_extent: Option<CanvasRect>,
}Expand description
Canvas pan behaviour resolved for runtime use.
Fields§
§pan_on_scroll: bool§pan_on_drag: NodeGraphPanOnDragButtons§pane_click_distance: f32§pan_activation_key_code: Option<NodeGraphKeyCode>§space_to_pan: bool§pan_on_scroll_speed: f32§pan_on_scroll_mode: NodeGraphPanOnScrollMode§pan_inertia: &'a NodeGraphPanInertiaTuning§translate_extent: Option<CanvasRect>Trait Implementations§
Source§impl<'a> Clone for NodeGraphPanInteraction<'a>
impl<'a> Clone for NodeGraphPanInteraction<'a>
Source§fn clone(&self) -> NodeGraphPanInteraction<'a>
fn clone(&self) -> NodeGraphPanInteraction<'a>
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<'a> Copy for NodeGraphPanInteraction<'a>
Source§impl<'a> Debug for NodeGraphPanInteraction<'a>
impl<'a> Debug for NodeGraphPanInteraction<'a>
Source§impl<'a> PartialEq for NodeGraphPanInteraction<'a>
impl<'a> PartialEq for NodeGraphPanInteraction<'a>
Source§fn eq(&self, other: &NodeGraphPanInteraction<'a>) -> bool
fn eq(&self, other: &NodeGraphPanInteraction<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for NodeGraphPanInteraction<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeGraphPanInteraction<'a>
impl<'a> RefUnwindSafe for NodeGraphPanInteraction<'a>
impl<'a> Send for NodeGraphPanInteraction<'a>
impl<'a> Sync for NodeGraphPanInteraction<'a>
impl<'a> Unpin for NodeGraphPanInteraction<'a>
impl<'a> UnsafeUnpin for NodeGraphPanInteraction<'a>
impl<'a> UnwindSafe for NodeGraphPanInteraction<'a>
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