Struct lyon_tessellation::FillVertex [−][src]
pub struct FillVertex<'l> { /* fields omitted */ }
Expand description
Extra vertex information from the FillTessellator
, accessible when building vertices.
Implementations
pub fn sources(&self) -> VertexSourceIterator<'_>ⓘNotable traits for VertexSourceIterator<'l>
impl<'l> Iterator for VertexSourceIterator<'l> type Item = VertexSource;
pub fn sources(&self) -> VertexSourceIterator<'_>ⓘNotable traits for VertexSourceIterator<'l>
impl<'l> Iterator for VertexSourceIterator<'l> type Item = VertexSource;
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
impl<'l> !RefUnwindSafe for FillVertex<'l>
impl<'l> !Send for FillVertex<'l>
impl<'l> !Sync for FillVertex<'l>
impl<'l> Unpin for FillVertex<'l>
impl<'l> !UnwindSafe for FillVertex<'l>