logo
pub struct FillVertex<'l> { /* private fields */ }
Expand description

Extra vertex information from the FillTessellator, accessible when building vertices.

Implementations

Return an iterator over the sources of the vertex.

Returns the first endpoint that this vertex is on, if any.

This is meant to be used only in very simple cases where self-intersections, overlapping vertices and curves are unexpected. This will return None at self-intersections and between the endpoints of a flattened curve. If two endpoints are at the same position only one of them is returned.

See also: FillVertex::sources.

Fetch or interpolate the custom attribute values at this vertex.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.