pub struct NodeGraphConnectionInteraction<'a> {
pub nodes_connectable: bool,
pub edges_reconnectable: bool,
pub connection_mode: NodeGraphConnectionMode,
pub connection_radius: f32,
pub reconnect_radius: f32,
pub reconnect_on_drop_empty: bool,
pub connection_drag_threshold: f32,
pub connect_on_click: bool,
pub reroute_on_edge_double_click: bool,
pub edge_insert_on_alt_drag: bool,
pub edge_hit_test: EdgeHitTestOptions,
pub auto_pan: &'a NodeGraphAutoPanTuning,
}Expand description
Connection gesture and edge interaction settings resolved for runtime use.
Fields§
§nodes_connectable: bool§edges_reconnectable: bool§connection_mode: NodeGraphConnectionMode§connection_radius: f32§reconnect_radius: f32§reconnect_on_drop_empty: bool§connection_drag_threshold: f32§connect_on_click: bool§reroute_on_edge_double_click: bool§edge_insert_on_alt_drag: bool§edge_hit_test: EdgeHitTestOptions§auto_pan: &'a NodeGraphAutoPanTuningTrait Implementations§
Source§impl<'a> Clone for NodeGraphConnectionInteraction<'a>
impl<'a> Clone for NodeGraphConnectionInteraction<'a>
Source§fn clone(&self) -> NodeGraphConnectionInteraction<'a>
fn clone(&self) -> NodeGraphConnectionInteraction<'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 NodeGraphConnectionInteraction<'a>
Source§impl<'a> Debug for NodeGraphConnectionInteraction<'a>
impl<'a> Debug for NodeGraphConnectionInteraction<'a>
Source§impl<'a> PartialEq for NodeGraphConnectionInteraction<'a>
impl<'a> PartialEq for NodeGraphConnectionInteraction<'a>
Source§fn eq(&self, other: &NodeGraphConnectionInteraction<'a>) -> bool
fn eq(&self, other: &NodeGraphConnectionInteraction<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for NodeGraphConnectionInteraction<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeGraphConnectionInteraction<'a>
impl<'a> RefUnwindSafe for NodeGraphConnectionInteraction<'a>
impl<'a> Send for NodeGraphConnectionInteraction<'a>
impl<'a> Sync for NodeGraphConnectionInteraction<'a>
impl<'a> Unpin for NodeGraphConnectionInteraction<'a>
impl<'a> UnsafeUnpin for NodeGraphConnectionInteraction<'a>
impl<'a> UnwindSafe for NodeGraphConnectionInteraction<'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