pub enum NodeGraphDragHandleMode {
Any,
Header,
}Expand description
Where node dragging can start from.
Variants§
Any
Start dragging from anywhere inside the node bounds.
Header
Start dragging only from the node header region.
Trait Implementations§
Source§impl Clone for NodeGraphDragHandleMode
impl Clone for NodeGraphDragHandleMode
Source§fn clone(&self) -> NodeGraphDragHandleMode
fn clone(&self) -> NodeGraphDragHandleMode
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 NodeGraphDragHandleMode
Source§impl Debug for NodeGraphDragHandleMode
impl Debug for NodeGraphDragHandleMode
Source§impl Default for NodeGraphDragHandleMode
impl Default for NodeGraphDragHandleMode
Source§fn default() -> NodeGraphDragHandleMode
fn default() -> NodeGraphDragHandleMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeGraphDragHandleMode
impl<'de> Deserialize<'de> for NodeGraphDragHandleMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeGraphDragHandleMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeGraphDragHandleMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NodeGraphDragHandleMode
Source§impl Hash for NodeGraphDragHandleMode
impl Hash for NodeGraphDragHandleMode
Source§impl PartialEq for NodeGraphDragHandleMode
impl PartialEq for NodeGraphDragHandleMode
Source§fn eq(&self, other: &NodeGraphDragHandleMode) -> bool
fn eq(&self, other: &NodeGraphDragHandleMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeGraphDragHandleMode
impl Serialize for NodeGraphDragHandleMode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NodeGraphDragHandleMode
Auto Trait Implementations§
impl Freeze for NodeGraphDragHandleMode
impl RefUnwindSafe for NodeGraphDragHandleMode
impl Send for NodeGraphDragHandleMode
impl Sync for NodeGraphDragHandleMode
impl Unpin for NodeGraphDragHandleMode
impl UnsafeUnpin for NodeGraphDragHandleMode
impl UnwindSafe for NodeGraphDragHandleMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.