[][src]Struct tabbycat::Edge

pub struct Edge<'a> { /* fields omitted */ }

An edge in the dot language.

Implementations

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

pub fn head_node(id: Identity<'a>, port: Option<Port<'a>>) -> Self[src]

Start a new edge with a node

pub fn head_subgraph(sub: SubGraph<'a>) -> Self[src]

Start a new edge with a subgraph

pub fn line_to_node(self, id: Identity<'a>, port: Option<Port<'a>>) -> Self[src]

Connect to a new node with line Notice that you should not use this in a directed graph. Unfortunately, this crate does not check this for you.

pub fn line_to_subgraph(self, sub: SubGraph<'a>) -> Self[src]

Connect to a new subgraph with line Notice that you should not use this in a directed graph. Unfortunately, this crate does not check this for you.

pub fn arrow_to_node(self, id: Identity<'a>, port: Option<Port<'a>>) -> Self[src]

Connect to a new node with arrow Notice that you should not use this in a undirected graph. Unfortunately, this crate does not check this for you.

pub fn arrow_to_subgraph(self, sub: SubGraph<'a>) -> Self[src]

Connect to a new subgraph with arrow Notice that you should not use this in a undirected graph. Unfortunately, this crate does not check this for you.

pub fn add_attrlist(self, list: AttrList<'a>) -> Self[src]

Add an attribute list to the edge

pub fn add_attribute(self, key: Identity<'a>, value: Identity<'a>) -> Self[src]

Add an attribute to the edge

pub fn add_attrpair(self, pair: AttrPair<'a>) -> Self[src]

Add an attribute to the edge (in pair)

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

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

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

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> ToString for T where
    T: Display + ?Sized
[src]

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.