pub struct EdgeFragment {
pub x: usize,
pub y: usize,
pub ori: Orientation,
}
Expand description
A fragment of an edge in the code’s flow, with position and direction.
Tracks a specific piece of an edge connection, indicating the direction and location of a flow path.
Fields§
§x: usize
X coordinate of the edge fragment.
y: usize
Y coordinate of the edge fragment.
ori: Orientation
Orientation of this edge fragment.
Trait Implementations§
Source§impl Clone for EdgeFragment
impl Clone for EdgeFragment
Source§fn clone(&self) -> EdgeFragment
fn clone(&self) -> EdgeFragment
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 moreSource§impl Debug for EdgeFragment
impl Debug for EdgeFragment
Source§impl PartialEq for EdgeFragment
impl PartialEq for EdgeFragment
impl Eq for EdgeFragment
impl StructuralPartialEq for EdgeFragment
Auto Trait Implementations§
impl Freeze for EdgeFragment
impl RefUnwindSafe for EdgeFragment
impl Send for EdgeFragment
impl Sync for EdgeFragment
impl Unpin for EdgeFragment
impl UnwindSafe for EdgeFragment
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