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§
impl Copy for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl Freeze for Vertex
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)