pub struct Endpoint {
pub at: Pos,
pub leaving: Direction,
pub terminal: Terminal,
}Expand description
Where a connector ends: a position, the direction it leaves in, and a terminal. See The initial
set and What a terminal writes in
docs/model.md.
Fields§
§at: PosThe endpoint’s position. The terminal occupies this position itself.
leaving: DirectionThe direction the connector leaves this endpoint in. The route’s starting position is one
step from at in this direction.
terminal: TerminalWhat this endpoint contributes to the cell at at.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Endpoint
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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