pub struct DrawableEdge {
pub from: String,
pub to: String,
pub conditional: bool,
pub label: Option<String>,
}Expand description
Drawable edge for visualization
Contains edge connection information and optional label.
Fields§
§from: StringSource node name
to: StringTarget node name
conditional: boolWhether this is a conditional edge
label: Option<String>Optional edge label
Trait Implementations§
Source§impl Clone for DrawableEdge
impl Clone for DrawableEdge
Source§fn clone(&self) -> DrawableEdge
fn clone(&self) -> DrawableEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DrawableEdge
impl RefUnwindSafe for DrawableEdge
impl Send for DrawableEdge
impl Sync for DrawableEdge
impl Unpin for DrawableEdge
impl UnsafeUnpin for DrawableEdge
impl UnwindSafe for DrawableEdge
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