pub struct NodeGraphEdgeInteractionPolicy {
pub selectable: bool,
pub focusable: bool,
pub deletable: bool,
pub reconnect_source: bool,
pub reconnect_target: bool,
}Fields§
§selectable: bool§focusable: bool§deletable: bool§reconnect_source: bool§reconnect_target: boolImplementations§
Source§impl NodeGraphEdgeInteractionPolicy
impl NodeGraphEdgeInteractionPolicy
pub fn can_delete(self) -> bool
pub fn reconnectable(self) -> bool
pub fn can_reconnect_source(self) -> bool
pub fn can_reconnect_target(self) -> bool
Trait Implementations§
Source§impl Clone for NodeGraphEdgeInteractionPolicy
impl Clone for NodeGraphEdgeInteractionPolicy
Source§fn clone(&self) -> NodeGraphEdgeInteractionPolicy
fn clone(&self) -> NodeGraphEdgeInteractionPolicy
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 NodeGraphEdgeInteractionPolicy
impl Eq for NodeGraphEdgeInteractionPolicy
Source§impl PartialEq for NodeGraphEdgeInteractionPolicy
impl PartialEq for NodeGraphEdgeInteractionPolicy
Source§fn eq(&self, other: &NodeGraphEdgeInteractionPolicy) -> bool
fn eq(&self, other: &NodeGraphEdgeInteractionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGraphEdgeInteractionPolicy
Auto Trait Implementations§
impl Freeze for NodeGraphEdgeInteractionPolicy
impl RefUnwindSafe for NodeGraphEdgeInteractionPolicy
impl Send for NodeGraphEdgeInteractionPolicy
impl Sync for NodeGraphEdgeInteractionPolicy
impl Unpin for NodeGraphEdgeInteractionPolicy
impl UnsafeUnpin for NodeGraphEdgeInteractionPolicy
impl UnwindSafe for NodeGraphEdgeInteractionPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.