pub enum ConnectionSite {
Top,
Bottom,
Left,
Right,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
Center,
}Expand description
Connection point on a shape
Variants§
Top
Top center
Bottom
Bottom center
Left
Left center
Right
Right center
TopLeft
Top left corner
TopRight
Top right corner
BottomLeft
Bottom left corner
BottomRight
Bottom right corner
Center
Center
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionSite
impl Clone for ConnectionSite
Source§fn clone(&self) -> ConnectionSite
fn clone(&self) -> ConnectionSite
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 ConnectionSite
Source§impl Debug for ConnectionSite
impl Debug for ConnectionSite
impl Eq for ConnectionSite
Source§impl PartialEq for ConnectionSite
impl PartialEq for ConnectionSite
Source§fn eq(&self, other: &ConnectionSite) -> bool
fn eq(&self, other: &ConnectionSite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionSite
Auto Trait Implementations§
impl Freeze for ConnectionSite
impl RefUnwindSafe for ConnectionSite
impl Send for ConnectionSite
impl Sync for ConnectionSite
impl Unpin for ConnectionSite
impl UnsafeUnpin for ConnectionSite
impl UnwindSafe for ConnectionSite
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