Struct dot::Arrow[][src]

pub struct Arrow {
    pub arrows: Vec<ArrowShape>,
}

This structure holds all information that can describe an arrow connected to either start or end of an edge.

Fields

arrows: Vec<ArrowShape>

Implementations

impl Arrow[src]

pub fn default() -> Arrow[src]

Arrow constructor which returns a default arrow

pub fn none() -> Arrow[src]

Arrow constructor which returns an empty arrow

pub fn normal() -> Arrow[src]

Arrow constructor which returns a regular triangle arrow, without modifiers

pub fn from_arrow(arrow: ArrowShape) -> Arrow[src]

Arrow constructor which returns an arrow created by a given ArrowShape.

pub fn to_dot_string(&self) -> String[src]

Function which converts given arrow into a renderable form.

Trait Implementations

impl Clone for Arrow[src]

impl Hash for Arrow[src]

impl Into<Arrow> for [ArrowShape; 2][src]

impl Into<Arrow> for [ArrowShape; 3][src]

impl Into<Arrow> for [ArrowShape; 4][src]

impl PartialEq<Arrow> for Arrow[src]

impl Eq for Arrow[src]

impl StructuralEq for Arrow[src]

impl StructuralPartialEq for Arrow[src]

Auto Trait Implementations

impl RefUnwindSafe for Arrow

impl Send for Arrow

impl Sync for Arrow

impl Unpin for Arrow

impl UnwindSafe for Arrow

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.