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>
Methods
impl Arrow[src]
fn default() -> Arrow[src]
Arrow constructor which returns a default arrow
fn none() -> Arrow[src]
Arrow constructor which returns an empty arrow
fn normal() -> Arrow[src]
Arrow constructor which returns a regular triangle arrow, without modifiers
fn from_arrow(arrow: ArrowShape) -> Arrow[src]
Arrow constructor which returns an arrow created by a given ArrowShape.
fn to_dot_string(&self) -> String[src]
Function which converts given arrow into a renderable form.
Trait Implementations
impl Clone for Arrow[src]
fn clone(&self) -> Arrow[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 Hash for Arrow[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 Arrow[src]
fn eq(&self, __arg_0: &Arrow) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Arrow) -> bool[src]
This method tests for !=.