pub struct Edge {
pub block_index_of_arg_plug: usize,
pub arg_plug_info: ArgPlug,
pub fragments: Vec<EdgeFragment>,
pub block_index_of_block_plug: usize,
}
Expand description
An edge connecting two blocks, including fragments and plug information.
Used to describe the connections between blocks and their arguments in a visual code flow.
Fields§
§block_index_of_arg_plug: usize
Index of the block that owns the argument plug.
arg_plug_info: ArgPlug
Information about the argument plug.
fragments: Vec<EdgeFragment>
Sequence of fragments composing this edge.
block_index_of_block_plug: usize
Index of the block that the argument plug is connected to.
Trait Implementations§
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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