pub struct GraphEdge {
pub from: String,
pub to: String,
pub label: Option<String>,
pub color: Option<String>,
pub style: Option<EdgeLineStyle>,
pub arrowhead: Option<ArrowHead>,
pub penwidth: Option<f64>,
pub arc_type: Option<String>,
pub attrs: Vec<(String, String)>,
}Expand description
An edge in the graph.
Fields§
§from: String§to: String§label: Option<String>§color: Option<String>§style: Option<EdgeLineStyle>§arrowhead: Option<ArrowHead>§penwidth: Option<f64>§arc_type: Option<String>§attrs: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnsafeUnpin for GraphEdge
impl UnwindSafe for GraphEdge
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