pub struct DiagramEdge {
pub from: String,
pub to: String,
pub label: Option<String>,
pub style: ArrowStyle,
}Expand description
An edge (connection) in the diagram
Fields§
§from: StringSource node ID
to: StringTarget node ID
label: Option<String>Edge label
style: ArrowStyleArrow style
Implementations§
Trait Implementations§
Source§impl Clone for DiagramEdge
impl Clone for DiagramEdge
Source§fn clone(&self) -> DiagramEdge
fn clone(&self) -> DiagramEdge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiagramEdge
impl RefUnwindSafe for DiagramEdge
impl Send for DiagramEdge
impl Sync for DiagramEdge
impl Unpin for DiagramEdge
impl UnsafeUnpin for DiagramEdge
impl UnwindSafe for DiagramEdge
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