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§
impl Eq for Arrow
impl StructuralPartialEq for Arrow
Auto Trait Implementations§
impl Freeze for Arrow
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