pub struct GraphEdge {
pub from: String,
pub to: String,
pub color: Color,
pub dashed: bool,
pub label: Option<String>,
}Expand description
One edge: endpoints by node id, colour, a dashed flag, and an optional
mid-edge label (a cut rationale).
Fields§
§from: String§to: String§color: Color§dashed: bool§label: Option<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