pub struct Arrow {
pub arrows: Vec<Shape>,
}Expand description
This structure holds all information that can describe an arrow connected to either start or end of an edge.
Fields
arrows: Vec<Shape>Implementations
sourceimpl Arrow
impl Arrow
sourcepub fn normal() -> Self
pub fn normal() -> Self
Arrow constructor which returns a regular triangle arrow, without modifiers
sourcepub fn from_arrow(arrow: Shape) -> Self
pub fn from_arrow(arrow: Shape) -> Self
Arrow constructor which returns an arrow created by a given Shape.
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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more