pub struct ConnectionLine {
pub segments: Vec<Segment>,
pub from_box: Option<usize>,
pub to_box: Option<usize>,
}Expand description
An L-shaped or multi-segment connection line (e.g., between boxes).
Fields§
§segments: Vec<Segment>Segments that make up this connection line
from_box: Option<usize>Index of the box this line originates from (if any)
to_box: Option<usize>Index of the box this line connects to (if any)
Trait Implementations§
Source§impl Clone for ConnectionLine
impl Clone for ConnectionLine
Source§fn clone(&self) -> ConnectionLine
fn clone(&self) -> ConnectionLine
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 ConnectionLine
impl Debug for ConnectionLine
Source§impl PartialEq for ConnectionLine
impl PartialEq for ConnectionLine
impl Eq for ConnectionLine
impl StructuralPartialEq for ConnectionLine
Auto Trait Implementations§
impl Freeze for ConnectionLine
impl RefUnwindSafe for ConnectionLine
impl Send for ConnectionLine
impl Sync for ConnectionLine
impl Unpin for ConnectionLine
impl UnwindSafe for ConnectionLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.