pub enum SharedNode {
Source(String),
SourceTarget(String),
TargetSource(String),
Target(String),
}Expand description
How two edges share a node.
Variants§
Source(String)
Both edges have the same source.
SourceTarget(String)
Edge A’s source equals edge B’s target.
TargetSource(String)
Edge A’s target equals edge B’s source.
Target(String)
Both edges have the same target.
Trait Implementations§
Source§fn clone(&self) -> SharedNode
fn clone(&self) -> SharedNode
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§
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