[−][src]Struct tabbycat::Edge
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,