pub enum NodeGraphConnectionMode {
Strict,
Loose,
}Expand description
Connection mode for selecting/validating target ports during connection gestures.
Variants§
Trait Implementations§
Source§impl Clone for NodeGraphConnectionMode
impl Clone for NodeGraphConnectionMode
Source§fn clone(&self) -> NodeGraphConnectionMode
fn clone(&self) -> NodeGraphConnectionMode
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 NodeGraphConnectionMode
Source§impl Debug for NodeGraphConnectionMode
impl Debug for NodeGraphConnectionMode
Source§impl Default for NodeGraphConnectionMode
impl Default for NodeGraphConnectionMode
Source§fn default() -> NodeGraphConnectionMode
fn default() -> NodeGraphConnectionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeGraphConnectionMode
impl<'de> Deserialize<'de> for NodeGraphConnectionMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NodeGraphConnectionMode
Source§impl Hash for NodeGraphConnectionMode
impl Hash for NodeGraphConnectionMode
Source§impl PartialEq for NodeGraphConnectionMode
impl PartialEq for NodeGraphConnectionMode
Source§fn eq(&self, other: &NodeGraphConnectionMode) -> bool
fn eq(&self, other: &NodeGraphConnectionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeGraphConnectionMode
impl Serialize for NodeGraphConnectionMode
impl StructuralPartialEq for NodeGraphConnectionMode
Auto Trait Implementations§
impl Freeze for NodeGraphConnectionMode
impl RefUnwindSafe for NodeGraphConnectionMode
impl Send for NodeGraphConnectionMode
impl Sync for NodeGraphConnectionMode
impl Unpin for NodeGraphConnectionMode
impl UnsafeUnpin for NodeGraphConnectionMode
impl UnwindSafe for NodeGraphConnectionMode
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