pub struct NodeGraphSelectionInteraction {
pub elements_selectable: bool,
pub edges_selectable: bool,
pub selection_on_drag: bool,
pub select_nodes_on_drag: bool,
pub selection_mode: NodeGraphSelectionMode,
pub box_select_edges: NodeGraphBoxSelectEdges,
pub selection_key: NodeGraphModifierKey,
pub multi_selection_key: NodeGraphModifierKey,
}Expand description
Selection behaviour resolved for runtime use.
Fields§
§elements_selectable: bool§edges_selectable: bool§selection_on_drag: bool§select_nodes_on_drag: bool§selection_mode: NodeGraphSelectionMode§box_select_edges: NodeGraphBoxSelectEdges§selection_key: NodeGraphModifierKey§multi_selection_key: NodeGraphModifierKeyTrait Implementations§
Source§impl Clone for NodeGraphSelectionInteraction
impl Clone for NodeGraphSelectionInteraction
Source§fn clone(&self) -> NodeGraphSelectionInteraction
fn clone(&self) -> NodeGraphSelectionInteraction
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 NodeGraphSelectionInteraction
Source§impl PartialEq for NodeGraphSelectionInteraction
impl PartialEq for NodeGraphSelectionInteraction
Source§fn eq(&self, other: &NodeGraphSelectionInteraction) -> bool
fn eq(&self, other: &NodeGraphSelectionInteraction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGraphSelectionInteraction
Auto Trait Implementations§
impl Freeze for NodeGraphSelectionInteraction
impl RefUnwindSafe for NodeGraphSelectionInteraction
impl Send for NodeGraphSelectionInteraction
impl Sync for NodeGraphSelectionInteraction
impl Unpin for NodeGraphSelectionInteraction
impl UnsafeUnpin for NodeGraphSelectionInteraction
impl UnwindSafe for NodeGraphSelectionInteraction
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