Struct dotavious::dot::Edge [−][src]
pub struct Edge<'a> {
pub source: String,
pub source_port_position: Option<PortPosition>,
pub target: String,
pub target_port_position: Option<PortPosition>,
pub attributes: IndexMap<String, AttributeText<'a>>,
}
Fields
source: String
source_port_position: Option<PortPosition>
target: String
target_port_position: Option<PortPosition>
attributes: IndexMap<String, AttributeText<'a>>
Implementations
pub fn new_with_position<S, T>(
source: S,
source_port_position: PortPosition,
target: T,
target_port_position: PortPosition
) -> Self where
S: Into<String>,
T: Into<String>,
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Edge<'a>
impl<'a> UnwindSafe for Edge<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more