pub enum CompassPoint {
N,
NE,
E,
SE,
S,
SW,
W,
NW,
C,
None,
}Variants§
N
NE
E
SE
S
SW
W
NW
C
pecifies the center of the node or port
None
specifies that an appropriate side of the port adjacent to the exterior of the node should be used, if such exists.
Trait Implementations§
Source§impl Clone for CompassPoint
impl Clone for CompassPoint
Source§fn clone(&self) -> CompassPoint
fn clone(&self) -> CompassPoint
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 moreSource§impl Debug for CompassPoint
impl Debug for CompassPoint
Source§impl<'a> DotString<'a> for CompassPoint
impl<'a> DotString<'a> for CompassPoint
fn dot_string(&self) -> Cow<'a, str>
Source§impl<'a> From<CompassPoint> for AttributeText<'a>
impl<'a> From<CompassPoint> for AttributeText<'a>
Source§fn from(compass: CompassPoint) -> Self
fn from(compass: CompassPoint) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompassPoint
impl PartialEq for CompassPoint
Source§fn eq(&self, other: &CompassPoint) -> bool
fn eq(&self, other: &CompassPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CompassPoint
impl StructuralPartialEq for CompassPoint
Auto Trait Implementations§
impl Freeze for CompassPoint
impl RefUnwindSafe for CompassPoint
impl Send for CompassPoint
impl Sync for CompassPoint
impl Unpin for CompassPoint
impl UnsafeUnpin for CompassPoint
impl UnwindSafe for CompassPoint
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,
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.