Enum dotavious::attributes::PortPosition [−][src]
pub enum PortPosition {
Port {
port_name: String,
compass_point: Option<CompassPoint>,
},
Compass(CompassPoint),
}
Expand description
Modifier indicating where on a node an edge should be aimed. If Port is used, the corresponding node must either have record shape with one of its fields having the given portname, or have an HTML-like label, one of whose components has a PORT attribute set to portname. If no compass point is used with a portname, the default value is “_”.
Variants
Fields of Port
port_name: String
compass_point: Option<CompassPoint>
Compass(CompassPoint)
Tuple Fields of Compass
0: CompassPoint
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PortPosition
impl Send for PortPosition
impl Sync for PortPosition
impl Unpin for PortPosition
impl UnwindSafe for PortPosition
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.