pub enum Vertex {
Start(Point, Vector),
Middle(Vector, Point, Vector),
End(Vector, Point, bool),
}
Expand description
A vertex of a path.
Variants§
Start(Point, Vector)
The start point and direction of a subpath.
Middle(Vector, Point, Vector)
The incoming direction, location, and outgoing direction of an intermediate vertex in a subpath.
End(Vector, Point, bool)
The incoming direction and location of the final vertex in a subpath. The boolean value is true if the subpath is closed.
Trait Implementations§
source§impl PartialEq for Vertex
impl PartialEq for Vertex
impl Copy for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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