Enum dot::ArrowShape
[−]
[src]
pub enum ArrowShape {
NoArrow,
Normal(Fill, Side),
Box(Fill, Side),
Crow(Side),
Curve(Side),
ICurve(Fill, Side),
Diamond(Fill, Side),
Dot(Fill),
Inv(Fill, Side),
Tee(Side),
Vee(Side),
}This enumeration represents all possible arrow edge as defined in grapviz documentation.
Variants
NoArrowNo arrow will be displayed
Normal(Fill, Side)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(Fill, Side)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(Fill, Side)Arrow ending in an inverted curve
Diamond(Fill, Side)Arrow ending in an diamond shaped rectangular shape.
Dot(Fill)Arrow ending in a circle.
Inv(Fill, Side)Arrow ending in an inverted triangle.
Tee(Side)Arrow ending with a T shaped arrow.
Vee(Side)Arrow ending with a V shaped arrow.
Methods
impl ArrowShape[src]
fn none() -> ArrowShape[src]
Constructor which returns no arrow.
fn normal() -> ArrowShape[src]
Constructor which returns normal arrow.
fn boxed() -> ArrowShape[src]
Constructor which returns a regular box arrow.
fn crow() -> ArrowShape[src]
Constructor which returns a regular crow arrow.
fn curve() -> ArrowShape[src]
Constructor which returns a regular curve arrow.
fn icurve() -> ArrowShape[src]
Constructor which returns an inverted curve arrow.
fn diamond() -> ArrowShape[src]
Constructor which returns a diamond arrow.
fn dot() -> ArrowShape[src]
Constructor which returns a circle shaped arrow.
fn inv() -> ArrowShape[src]
Constructor which returns an inverted triangle arrow.
fn tee() -> ArrowShape[src]
Constructor which returns a T shaped arrow.
fn vee() -> ArrowShape[src]
Constructor which returns a V shaped arrow.
fn to_dot_string(&self) -> String[src]
Function which renders given ArrowShape into a String for displaying.
Trait Implementations
impl Clone for ArrowShape[src]
fn clone(&self) -> ArrowShape[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ArrowShape[src]
impl Hash for ArrowShape[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for ArrowShape[src]
fn eq(&self, __arg_0: &ArrowShape) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ArrowShape) -> bool[src]
This method tests for !=.