pub enum HandlePosition {
Top,
Right,
Bottom,
Left,
}Expand description
Side of a node or handle where an edge endpoint attaches.
Variants§
Trait Implementations§
Source§impl Clone for HandlePosition
impl Clone for HandlePosition
Source§fn clone(&self) -> HandlePosition
fn clone(&self) -> HandlePosition
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 HandlePosition
Source§impl Debug for HandlePosition
impl Debug for HandlePosition
Source§impl<'de> Deserialize<'de> for HandlePosition
impl<'de> Deserialize<'de> for HandlePosition
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 HandlePosition
Source§impl Hash for HandlePosition
impl Hash for HandlePosition
Source§impl PartialEq for HandlePosition
impl PartialEq for HandlePosition
Source§fn eq(&self, other: &HandlePosition) -> bool
fn eq(&self, other: &HandlePosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HandlePosition
impl Serialize for HandlePosition
impl StructuralPartialEq for HandlePosition
Auto Trait Implementations§
impl Freeze for HandlePosition
impl RefUnwindSafe for HandlePosition
impl Send for HandlePosition
impl Sync for HandlePosition
impl Unpin for HandlePosition
impl UnsafeUnpin for HandlePosition
impl UnwindSafe for HandlePosition
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.