pub struct Arrow {
pub arrows: Vec<ArrowShape>,
}
Expand description
This structure holds all information that can describe an arrow connected to either start or end of an edge.
Fields§
§arrows: Vec<ArrowShape>
Implementations§
source§impl Arrow
impl Arrow
sourcepub fn normal() -> Arrow
pub fn normal() -> Arrow
Arrow constructor which returns a regular triangle arrow, without modifiers
sourcepub fn from_arrow(arrow: ArrowShape) -> Arrow
pub fn from_arrow(arrow: ArrowShape) -> Arrow
Arrow constructor which returns an arrow created by a given ArrowShape.
sourcepub fn to_dot_string(&self) -> String
pub fn to_dot_string(&self) -> String
Function which converts given arrow into a renderable form.
Trait Implementations§
source§impl PartialEq<Arrow> for Arrow
impl PartialEq<Arrow> for Arrow
impl Eq for Arrow
impl StructuralEq for Arrow
impl StructuralPartialEq for Arrow
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more