pub struct NodeGraphZoomInteraction {
pub zoom_on_scroll: bool,
pub zoom_on_scroll_speed: f32,
pub zoom_on_pinch: bool,
pub zoom_on_pinch_speed: f32,
pub zoom_on_double_click: bool,
pub zoom_activation_key: NodeGraphModifierKey,
}Expand description
Viewport zoom behaviour resolved for runtime use.
Fields§
§zoom_on_scroll: bool§zoom_on_scroll_speed: f32§zoom_on_pinch: bool§zoom_on_pinch_speed: f32§zoom_on_double_click: bool§zoom_activation_key: NodeGraphModifierKeyTrait Implementations§
Source§impl Clone for NodeGraphZoomInteraction
impl Clone for NodeGraphZoomInteraction
Source§fn clone(&self) -> NodeGraphZoomInteraction
fn clone(&self) -> NodeGraphZoomInteraction
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 NodeGraphZoomInteraction
Source§impl Debug for NodeGraphZoomInteraction
impl Debug for NodeGraphZoomInteraction
Source§impl PartialEq for NodeGraphZoomInteraction
impl PartialEq for NodeGraphZoomInteraction
Source§fn eq(&self, other: &NodeGraphZoomInteraction) -> bool
fn eq(&self, other: &NodeGraphZoomInteraction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGraphZoomInteraction
Auto Trait Implementations§
impl Freeze for NodeGraphZoomInteraction
impl RefUnwindSafe for NodeGraphZoomInteraction
impl Send for NodeGraphZoomInteraction
impl Sync for NodeGraphZoomInteraction
impl Unpin for NodeGraphZoomInteraction
impl UnsafeUnpin for NodeGraphZoomInteraction
impl UnwindSafe for NodeGraphZoomInteraction
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