Enum lyon_tessellation::VertexSource [−][src]
pub enum VertexSource { Endpoint { id: EndpointId, }, Edge { from: EndpointId, to: EndpointId, t: f32, }, }
Expand description
Where a vertex produced by a tessellator comes from in the original path.
In most cases, vertices come directly from an endpoint. However, Curve
approximations and self-intersections can introduce vertices that are on
one or several edges, at a certain parameter t
between the two endpoints
of the edge.
Variants
Show fields
Fields of Endpoint
id: EndpointId
Show fields
Fields of Edge
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VertexSource
impl Send for VertexSource
impl Sync for VertexSource
impl Unpin for VertexSource
impl UnwindSafe for VertexSource
Blanket Implementations
Mutably borrows from an owned value. Read more