pub enum ConnectionHandle {
TopLeft,
TopCenter,
TopRight,
RightTop,
RightCenter,
RightBottom,
BottomRight,
BottomCenter,
BottomLeft,
LeftBottom,
LeftCenter,
LeftTop,
}Expand description
Edge attachment point positions on a node
Defines 12 possible handle positions around the perimeter of a node, organized by edge (top, right, bottom, left) and position on that edge.
Variants§
TopLeft
Top edge, left position
TopCenter
Top edge, center position
TopRight
Top edge, right position
RightTop
Right edge, top position
RightCenter
Right edge, center position
RightBottom
Right edge, bottom position
BottomRight
Bottom edge, right position
BottomCenter
Bottom edge, center position
BottomLeft
Bottom edge, left position
LeftBottom
Left edge, bottom position
LeftCenter
Left edge, center position
LeftTop
Left edge, top position
Trait Implementations§
Source§impl Clone for ConnectionHandle
impl Clone for ConnectionHandle
Source§fn clone(&self) -> ConnectionHandle
fn clone(&self) -> ConnectionHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionHandle
impl Debug for ConnectionHandle
Source§impl<'de> Deserialize<'de> for ConnectionHandle
impl<'de> Deserialize<'de> for ConnectionHandle
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
Source§impl PartialEq for ConnectionHandle
impl PartialEq for ConnectionHandle
Source§impl Serialize for ConnectionHandle
impl Serialize for ConnectionHandle
impl StructuralPartialEq for ConnectionHandle
Auto Trait Implementations§
impl Freeze for ConnectionHandle
impl RefUnwindSafe for ConnectionHandle
impl Send for ConnectionHandle
impl Sync for ConnectionHandle
impl Unpin for ConnectionHandle
impl UnwindSafe for ConnectionHandle
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