Enum dotavious::attributes::PortPosition[][src]

pub enum PortPosition {
    Port {
        port_name: String,
        compass_point: Option<CompassPoint>,
    },
    Compass(CompassPoint),
}

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

Port

Fields of Port

port_name: Stringcompass_point: Option<CompassPoint>
Compass(CompassPoint)

Trait Implementations

impl Clone for PortPosition[src]

impl Debug for PortPosition[src]

impl<'a> DotString<'a> for PortPosition[src]

impl Eq for PortPosition[src]

impl<'a> From<PortPosition> for AttributeText<'a>[src]

impl PartialEq<PortPosition> for PortPosition[src]

impl StructuralEq for PortPosition[src]

impl StructuralPartialEq for PortPosition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.