pub struct Edge<G> {
pub start: VertexId,
pub end: VertexId,
pub curve: Option<G>,
}Expand description
Edge bounded by two vertices and optionally supported by exact curve data.
Fields§
§start: VertexIdStart vertex.
end: VertexIdEnd vertex.
curve: Option<G>Exact support curve handle; absent for a straight topological edge whose endpoints are sufficient.
Trait Implementations§
impl<G> StructuralPartialEq for Edge<G>
Auto Trait Implementations§
impl<G> Freeze for Edge<G>where
G: Freeze,
impl<G> RefUnwindSafe for Edge<G>where
G: RefUnwindSafe,
impl<G> Send for Edge<G>where
G: Send,
impl<G> Sync for Edge<G>where
G: Sync,
impl<G> Unpin for Edge<G>where
G: Unpin,
impl<G> UnwindSafe for Edge<G>where
G: UnwindSafe,
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