Enum dot::ArrowShape[][src]

pub enum ArrowShape {
    NoArrow,
    Normal(FillSide),
    Box(FillSide),
    Crow(Side),
    Curve(Side),
    ICurve(FillSide),
    Diamond(FillSide),
    Dot(Fill),
    Inv(FillSide),
    Tee(Side),
    Vee(Side),
}

This enumeration represents all possible arrow edge as defined in grapviz documentation.

Variants

NoArrow

No arrow will be displayed

Normal(FillSide)

Arrow that ends in a triangle. Basically a normal arrow. NOTE: there is error in official documentation, this supports both fill and side clipping

Box(FillSide)

Arrow ending in a small square box

Crow(Side)

Arrow ending in a three branching lines also called crow’s foot

Curve(Side)

Arrow ending in a curve

ICurve(FillSide)

Arrow ending in an inverted curve

Diamond(FillSide)

Arrow ending in an diamond shaped rectangular shape.

Dot(Fill)

Arrow ending in a circle.

Inv(FillSide)

Arrow ending in an inverted triangle.

Tee(Side)

Arrow ending with a T shaped arrow.

Vee(Side)

Arrow ending with a V shaped arrow.

Implementations

impl ArrowShape[src]

pub fn none() -> ArrowShape[src]

Constructor which returns no arrow.

pub fn normal() -> ArrowShape[src]

Constructor which returns normal arrow.

pub fn boxed() -> ArrowShape[src]

Constructor which returns a regular box arrow.

pub fn crow() -> ArrowShape[src]

Constructor which returns a regular crow arrow.

pub fn curve() -> ArrowShape[src]

Constructor which returns a regular curve arrow.

pub fn icurve() -> ArrowShape[src]

Constructor which returns an inverted curve arrow.

pub fn diamond() -> ArrowShape[src]

Constructor which returns a diamond arrow.

pub fn dot() -> ArrowShape[src]

Constructor which returns a circle shaped arrow.

pub fn inv() -> ArrowShape[src]

Constructor which returns an inverted triangle arrow.

pub fn tee() -> ArrowShape[src]

Constructor which returns a T shaped arrow.

pub fn vee() -> ArrowShape[src]

Constructor which returns a V shaped arrow.

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

Function which renders given ArrowShape into a String for displaying.

Trait Implementations

impl Clone for ArrowShape[src]

impl Hash for ArrowShape[src]

impl PartialEq<ArrowShape> for ArrowShape[src]

impl Copy for ArrowShape[src]

impl Eq for ArrowShape[src]

impl StructuralEq for ArrowShape[src]

impl StructuralPartialEq for ArrowShape[src]

Auto Trait Implementations

impl RefUnwindSafe for ArrowShape

impl Send for ArrowShape

impl Sync for ArrowShape

impl Unpin for ArrowShape

impl UnwindSafe for ArrowShape

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.