Enum dot::CompassPoint
source · pub enum CompassPoint {
N,
NE,
E,
SE,
S,
SW,
W,
NW,
C,
Underscore,
}
Expand description
Allowed values for compass points. Used for specifying edge directions. See also https://graphviz.org/docs/attr-types/portPos/
Variants§
Trait Implementations§
source§impl Clone for CompassPoint
impl Clone for CompassPoint
source§fn clone(&self) -> CompassPoint
fn clone(&self) -> CompassPoint
Returns a copy 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 PartialEq<CompassPoint> for CompassPoint
impl PartialEq<CompassPoint> for CompassPoint
source§fn eq(&self, other: &CompassPoint) -> bool
fn eq(&self, other: &CompassPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompassPoint
impl Eq for CompassPoint
impl StructuralEq for CompassPoint
impl StructuralPartialEq for CompassPoint
Auto Trait Implementations§
impl RefUnwindSafe for CompassPoint
impl Send for CompassPoint
impl Sync for CompassPoint
impl Unpin 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