pub struct NodeGraphNodeInteractionPolicy {
pub selectable: bool,
pub focusable: bool,
pub draggable: bool,
pub connectable: bool,
pub deletable: bool,
pub extent: Option<NodeExtent>,
pub expand_parent: bool,
}Fields§
§selectable: bool§focusable: bool§draggable: bool§connectable: bool§deletable: bool§extent: Option<NodeExtent>§expand_parent: boolImplementations§
Source§impl NodeGraphNodeInteractionPolicy
impl NodeGraphNodeInteractionPolicy
pub fn can_delete(self) -> bool
Trait Implementations§
Source§impl Clone for NodeGraphNodeInteractionPolicy
impl Clone for NodeGraphNodeInteractionPolicy
Source§fn clone(&self) -> NodeGraphNodeInteractionPolicy
fn clone(&self) -> NodeGraphNodeInteractionPolicy
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 NodeGraphNodeInteractionPolicy
Source§impl PartialEq for NodeGraphNodeInteractionPolicy
impl PartialEq for NodeGraphNodeInteractionPolicy
Source§fn eq(&self, other: &NodeGraphNodeInteractionPolicy) -> bool
fn eq(&self, other: &NodeGraphNodeInteractionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGraphNodeInteractionPolicy
Auto Trait Implementations§
impl Freeze for NodeGraphNodeInteractionPolicy
impl RefUnwindSafe for NodeGraphNodeInteractionPolicy
impl Send for NodeGraphNodeInteractionPolicy
impl Sync for NodeGraphNodeInteractionPolicy
impl Unpin for NodeGraphNodeInteractionPolicy
impl UnsafeUnpin for NodeGraphNodeInteractionPolicy
impl UnwindSafe for NodeGraphNodeInteractionPolicy
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