Struct dotavious::dot::Edge[][src]

pub struct Edge<'a> {
    pub source: String,
    pub source_port_position: Option<PortPosition>,
    pub target: String,
    pub target_port_position: Option<PortPosition>,
    pub attributes: IndexMap<String, AttributeText<'a>>,
}

Fields

source: Stringsource_port_position: Option<PortPosition>target: Stringtarget_port_position: Option<PortPosition>attributes: IndexMap<String, AttributeText<'a>>

Implementations

impl<'a> Edge<'a>[src]

pub fn new<S, T>(source: S, target: T) -> Self where
    S: Into<String>,
    T: Into<String>, 
[src]

pub fn new_with_position<S, T>(
    source: S,
    source_port_position: PortPosition,
    target: T,
    target_port_position: PortPosition
) -> Self where
    S: Into<String>,
    T: Into<String>, 
[src]

Trait Implementations

impl<'a> Clone for Edge<'a>[src]

impl<'a> Debug for Edge<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Edge<'a>

impl<'a> Send for Edge<'a>

impl<'a> Sync for Edge<'a>

impl<'a> Unpin for Edge<'a>

impl<'a> UnwindSafe for Edge<'a>

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<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.